Skip to content

Commit

Permalink
Merge branch 'master' into tracing-runtime-3400
Browse files Browse the repository at this point in the history
  • Loading branch information
stiiifff committed Dec 5, 2024
2 parents ffd2384 + 13f6d7e commit 068fe52
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions rust-toolchain
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[toolchain]
channel = "1.77.0"
3 changes: 2 additions & 1 deletion scripts/build-tracing-runtime.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ chmod -R 777 runtime


# get the toolchain rust version
RUST_VERSION=$(cat rust-toolchain | grep channel | grep --only-matching --perl-regexp "(\d+\.){2}\d+")
RUST_VERSION=$(cat rust-toolchain | grep channel | grep --only-matching -E "(\d+\.){2}\d+")
# if the version is empty, default to 1.69.0 (that is for runtime before 2300)
if [ -z "$RUST_VERSION" ]; then
RUST_VERSION="1.69.0"
Expand All @@ -45,6 +45,7 @@ for RUNTIME_NAME in ${ALL_RUNTIMES_NAMES[@]}; do
CMD="docker run \
-i \
--rm \
--platform linux/amd64 \
-e PACKAGE=$RUNTIME_NAME-runtime \
-e RUNTIME_DIR=$RUNTIME_DIR \
-e WASM_BUILD_STD=0 \
Expand Down

0 comments on commit 068fe52

Please sign in to comment.