Skip to content

Commit

Permalink
Enable pthread support in libc-test for emscripten
Browse files Browse the repository at this point in the history
  • Loading branch information
iddm committed Apr 22, 2022
1 parent c79cb77 commit e4f4684
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libc-test/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2444,6 +2444,7 @@ fn test_emscripten(target: &str) {

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

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

0 comments on commit e4f4684

Please sign in to comment.