Skip to content

Commit bdc2fc3

Browse files
committed
use wasm32-wasip1-threads flag
1 parent 13025fd commit bdc2fc3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ fn main() {
152152
build.compiler(format!("{wasi_sdk}/bin/clang++"));
153153
let wasi_sysroot_lib = match compile_target_feature {
154154
Ok(compile_target_feature) if compile_target_feature.contains("atomics") => {
155-
"wasm32-wasi-threads"
155+
"wasm32-wasip1-threads"
156156
}
157157
_ => "wasm32-wasip1",
158158
};

0 commit comments

Comments
 (0)