Build and deploy official Emscripten client - #71
Merged
Conversation
Robyt3
marked this pull request as draft
July 28, 2026 22:23
Member
Author
|
Mostly untested. Depends on ddnet/ddnet#11920. Not sure whether we should deploy each each individual release or only the nightly version. |
Member
|
We can provide both a stable and nightly version. |
def-
approved these changes
Jul 29, 2026
Member
|
Trying this out now |
def-
reviewed
Jul 29, 2026
| cd ddnet-source | ||
| mkdir build-emscripten | ||
| cd build-emscripten | ||
| rustup override set 1.89.0 |
Member
There was a problem hiding this comment.
Why 1.89 specifically? The others are on newer versions
Member
Author
There was a problem hiding this comment.
Building Emscripten code with Rust versions 1.90.0 - 1.93.0 does not work. If 1.94.0 is generally available you can also try that.
8 tasks
Setup instructions assuming emsdk should be installed in `$HOME`: ```sh rustup install 1.89.0 rustup target add wasm32-unknown-emscripten cd "$HOME" git clone https://github.com/emscripten-core/emsdk emsdk cd emsdk ./emsdk install 4.0.22 ./emsdk activate 4.0.22 ```
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Setup instructions assuming emsdk should be installed in
$HOME: