Skip to content

Commit

Permalink
Revert rust-toolchain.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelff committed Feb 13, 2024
1 parent 83ef6e1 commit 169c448
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
9 changes: 8 additions & 1 deletion query-engine/query-engine-wasm/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,22 @@ if [[ -z "${WASM_BUILD_PROFILE:-}" ]]; then
WASM_BUILD_PROFILE="release"
fi
fi
echo "Using build profile: \"${WASM_BUILD_PROFILE}\""

if [ "$WASM_BUILD_PROFILE" = "dev" ]; then
WASM_TARGET_SUBDIR="debug"
else
WASM_TARGET_SUBDIR="$WASM_BUILD_PROFILE"
fi



build() {
echo "ℹ️ Configuring rust toolchain to use nightly and rust-src component"
rustup default nightly-2024-01-25
rustup target add wasm32-unknown-unknown
rustup component add rust-std --target wasm32-unknown-unknown
rustup component add rust-src --target wasm32-unknown-unknown

local CONNECTOR="$1"
local CARGO_TARGET_DIR
CARGO_TARGET_DIR=$(cargo metadata --format-version 1 | jq -r .target_directory)
Expand Down
4 changes: 0 additions & 4 deletions query-engine/query-engine-wasm/rust-toolchain.toml

This file was deleted.

4 changes: 0 additions & 4 deletions rust-toolchain.toml

This file was deleted.

0 comments on commit 169c448

Please sign in to comment.