For the Wasi SDK, is the right triple wasm32-unknown-wasi-threads
or wasm32-wasi-threads
?
You'll want to use wasm32-wasi-threads
(@Scott Waye, I feel like I remember scanning through an issue last week that had this target in it... did you file one and if so where?)
Looks like it could be clang++
E:\tmp\consolelocal>%WASI_SDK_PATH%\bin\clang++.exe -fvisibility=default -mllvm -combiner-global-alias-analysis=false -mllvm -disable-lsr --sysroot=E:\GitHub\wasi-sdk\share\wasi-sysroot -c -g3 obj\Debug\net8.0\wasi-wasm\native\consoleclrjit.bc -o obj\Debug\net8.0\wasi-wasm\native\consoleclrjit.o -pthread --sysroot=%WASI_SDK_PATH%/share/wasi-sysroot -target wasm32-wasi-threads
warning: overriding the module target triple with wasm32-unknown-wasi-threads [-Woverride-module]
doesn't seem to matter what I put for the -target
, or even leave it off completely, it prints that warning.
will mark complete as you answered my question. Thanks!
Scott Waye has marked this topic as resolved.
Last updated: Nov 22 2024 at 17:03 UTC