Skip to content

Commit

Permalink
Don't specify -pthread on Emscripten either.
Browse files Browse the repository at this point in the history
Change-Id: I6b23bb04f0caaa2a65a23c941b1aea1eeb4da25d
Reviewed-on: https://code-review.googlesource.com/c/re2/+/62913
Reviewed-by: Ash Liu <almquist@google.com>
Reviewed-by: Paul Wankadia <junyer@google.com>
  • Loading branch information
junyer committed Mar 29, 2024
1 parent 917047f commit ac82d4f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ cc_library(
# WebAssembly support for threads is... fraught at every level.
"@platforms//cpu:wasm32": [],
"@platforms//cpu:wasm64": [],
"@platforms//os:emscripten": [],
"@platforms//os:wasi": [],
"@platforms//os:windows": [],
"//conditions:default": ["-pthread"],
Expand All @@ -70,6 +71,7 @@ cc_library(
# WebAssembly support for threads is... fraught at every level.
"@platforms//cpu:wasm32": [],
"@platforms//cpu:wasm64": [],
"@platforms//os:emscripten": [],
"@platforms//os:wasi": [],
"@platforms//os:windows": [],
"//conditions:default": ["-pthread"],
Expand Down

0 comments on commit ac82d4f

Please sign in to comment.