Skip to content

Commit ac82d4f

Browse files
committed
Don't specify -pthread on Emscripten either.
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>
1 parent 917047f commit ac82d4f

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

BUILD.bazel

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ cc_library(
5858
# WebAssembly support for threads is... fraught at every level.
5959
"@platforms//cpu:wasm32": [],
6060
"@platforms//cpu:wasm64": [],
61+
"@platforms//os:emscripten": [],
6162
"@platforms//os:wasi": [],
6263
"@platforms//os:windows": [],
6364
"//conditions:default": ["-pthread"],
@@ -70,6 +71,7 @@ cc_library(
7071
# WebAssembly support for threads is... fraught at every level.
7172
"@platforms//cpu:wasm32": [],
7273
"@platforms//cpu:wasm64": [],
74+
"@platforms//os:emscripten": [],
7375
"@platforms//os:wasi": [],
7476
"@platforms//os:windows": [],
7577
"//conditions:default": ["-pthread"],

0 commit comments

Comments
 (0)