Skip to content

Commit

Permalink
Enable shared memory for emscripten test.
Browse files Browse the repository at this point in the history
  • Loading branch information
iddm committed Apr 22, 2022
1 parent e4f4684 commit 94b7c5e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion libc-test/build.rs
Expand Up @@ -2444,7 +2444,8 @@ fn test_emscripten(target: &str) {

let mut cfg = ctest_cfg();
cfg.define("_GNU_SOURCE", None); // FIXME: ??
cfg.flag("-pthread"); // Enable POSIX threads support.
cfg.flag("-pthread");
cfg.flag("-Wl,--shared-memory");

headers! { cfg:
"aio.h",
Expand Down

0 comments on commit 94b7c5e

Please sign in to comment.