Skip to content

Commit 484ebf6

Browse files
committed
chore: update nightly toolchain for query-engine-wasm
Update the Rust toolchain for query-engine-wasm to `nightly-2025-09-29`. Update the cargo and compiler flags in `build.sh` to use the new panic strategy introduced in <rust-lang/rust#146317>.
1 parent 3279c79 commit 484ebf6

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

query-engine/query-engine-wasm/build.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,12 +58,14 @@ build() {
5858
local CARGO_TARGET_DIR
5959
CARGO_TARGET_DIR=$(cargo metadata --format-version 1 | jq -r .target_directory)
6060
echo "🔨 Building $CONNECTOR"
61-
RUSTFLAGS="-Zlocation-detail=none" CARGO_PROFILE_RELEASE_OPT_LEVEL="z" cargo build \
61+
RUSTFLAGS="-Zlocation-detail=none -Zunstable-options -Cpanic=immediate-abort" \
62+
CARGO_PROFILE_RELEASE_OPT_LEVEL="z" \
63+
cargo build \
6264
-p query-engine-wasm \
6365
--profile "$WASM_BUILD_PROFILE" \
6466
--features "$CONNECTOR" \
6567
--target wasm32-unknown-unknown \
66-
-Zbuild-std=std,panic_abort -Zbuild-std-features=panic_immediate_abort
68+
-Zbuild-std=std,panic_abort
6769

6870
local IN_FILE="$CARGO_TARGET_DIR/wasm32-unknown-unknown/$WASM_TARGET_SUBDIR/query_engine_wasm.wasm"
6971
local OUT_FILE="$OUT_FOLDER/$PROVIDER/query_engine_bg.wasm"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
[toolchain]
2-
channel = "nightly-2025-06-27"
2+
channel = "nightly-2025-09-29"
33
components = ["clippy", "rustfmt", "rust-src"]
44
targets = ["wasm32-unknown-unknown"]

0 commit comments

Comments
 (0)