Skip to content

Commit

Permalink
fix rust (#922)
Browse files Browse the repository at this point in the history
  • Loading branch information
DerThorsten authored May 7, 2024
1 parent 3a95387 commit 26c161c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
7 changes: 7 additions & 0 deletions recipes/recipes/rust/activate-rust.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@ export RUSTUP_HOME=$HOME/.rustup_emscripten_forge
export CARGO_HOME=$HOME/.cargo_emscripten_forge
export PATH=$CARGO_HOME/bin:$PATH

# if $CARO_HOME does not exist, install rustup
if [ ! -d "$CARGO_HOME" ]; then
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y #--default-toolchain=1.78.0
rustup install nightly-2024-04-22
rustup default nightly-2024-04-22
rustup target add wasm32-unknown-emscripten
fi


export OPENSSL_INCLUDE_PATH=$PREFIX/include
Expand Down
2 changes: 1 addition & 1 deletion recipes/recipes/rust/rattler_recipe.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ package:


build:
number: 31
number: 32

requirements:
build:
Expand Down
2 changes: 1 addition & 1 deletion recipes/recipes_emscripten/pycrdt/rattler_recipe.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ source:
sha256: 7284bd052c1b7ee56d1f3ffbc7dcd0c72181c6cd92ae3744c63ee80373827b48

build:
number: 2
number: 3

requirements:
build:
Expand Down

0 comments on commit 26c161c

Please sign in to comment.