Skip to content

Commit

Permalink
Try enabling USE_PTHREADS in ci/run.sh for emscripten.
Browse files Browse the repository at this point in the history
This should enable pthread functionality for emcc.
  • Loading branch information
iddm committed Sep 13, 2022
1 parent 5e27da1 commit 78a91f3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ci/run.sh
Expand Up @@ -113,6 +113,8 @@ else
# Rust uses -g4 by default what causes link issues.
# This should disable the -g4 option.
export RUSTFLAGS="-Cdebuginfo=0"
export EMCC_FLAGS="-s USE_PTHREADS=1 --shared-memory"
export EMCC_CFLAGS="-s USE_PTHREADS=1 --shared-memory"
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 78a91f3

Please sign in to comment.