Skip to content

Commit

Permalink
Set RUSTFLAGS to disable generating code map for WASM.
Browse files Browse the repository at this point in the history
This allows the CI to proceed.
  • Loading branch information
iddm committed Jun 7, 2022
1 parent 0c2de53 commit 5e27da1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ci/run.sh
Expand Up @@ -111,7 +111,8 @@ if [ "$TARGET" = "s390x-unknown-linux-gnu" ]; then
else
if [ "$TARGET" = "asmjs-unknown-emscripten" ]; then
# Rust uses -g4 by default what causes link issues.
export EMCC_CFLAGS="-g3"
# This should disable the -g4 option.
export RUSTFLAGS="-Cdebuginfo=0"
fi
cargo test --no-default-features --manifest-path libc-test/Cargo.toml \
--target "${TARGET}" ${LIBC_CI_ZBUILD_STD+"-Zbuild-std"}
Expand Down

0 comments on commit 5e27da1

Please sign in to comment.