Stream: wasi

Topic: ✔ correct triple


view this post on Zulip Scott Waye (May 06 2023 at 02:10):

For the Wasi SDK, is the right triple wasm32-unknown-wasi-threads or wasm32-wasi-threads ?

view this post on Zulip Andrew Brown (May 08 2023 at 17:20):

You'll want to use wasm32-wasi-threads

view this post on Zulip Andrew Brown (May 08 2023 at 17:23):

(@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?)

view this post on Zulip Scott Waye (May 08 2023 at 17:25):

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]

view this post on Zulip Scott Waye (May 08 2023 at 17:26):

doesn't seem to matter what I put for the -target, or even leave it off completely, it prints that warning.

view this post on Zulip Scott Waye (May 08 2023 at 17:28):

will mark complete as you answered my question. Thanks!

view this post on Zulip Notification Bot (May 08 2023 at 17:28):

Scott Waye has marked this topic as resolved.


Last updated: Dec 23 2024 at 12:05 UTC