Files
rust/compiler/rustc_target
Jacob Pratt 732e5f773e Rollup merge of #157644 - kolayne:patch-1, r=jieyouxu
wasm32-wasip1-threads: Correct llvm target name

Intends to fix rust-lang/rust#131007, a problem with cross-compiling Rust+C++ to wasm32-wasip1-threads: clang will be told to compile for `--target=wasm32-wasi`, which it interprets as `wasm32-wasip1`, which is not compatible with `wasm32-wasip1-threads`.

I wonder if there might be any compatibility issue or something depending on the old incorrect name...
2026-06-18 03:40:03 -04:00
..
2026-06-01 07:34:12 -07:00
…

rustc_target contains some very low-level details that are specific to different compilation targets and so forth.

For more information about how rustc works, see the rustc dev guide.