Skip to content

Commit 4362b18

Browse files
authored
threads: change wasm32-wasi-pthread to wasm32-wasi-threads (#381)
* Change `wasm32-wasi-pthread` to `wasm32-wasi-threads` After some thought, I think that we should rename the `THREAD_MODEL=posix` build to avoid confusion. Why? Though in this project the use of this target does involve pthreads, it will not be so in other standard libraries or languages (see, e.g., rust-lang/compiler-team#574). I think it would be preferable to emphasize the "threads" Wasm-level proposal and the "wasi-threads" proposal rather than the specific details of which threading API is being exposed. * fix: rename the `expected` output directory as well
1 parent 4510654 commit 4362b18

File tree

5 files changed

+1
-1
lines changed

5 files changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ TARGET_TRIPLE = wasm32-wasi
3838
# Threaded version necessitates a different traget, as objects from different
3939
# targets can't be mixed together while linking.
4040
ifeq ($(THREAD_MODEL), posix)
41-
TARGET_TRIPLE = wasm32-wasi-pthread
41+
TARGET_TRIPLE = wasm32-wasi-threads
4242
endif
4343

4444
# These variables describe the locations of various files and directories in

0 commit comments

Comments
 (0)