rust/src
Alex Crichton 2a3e22bf04 Promote the wasm32-wasip2 target to Tier 2
This commit promotes the `wasm32-wasip2` Rust target to tier 2 as
proposed in rust-lang/compiler-team#760. There are two major changes in
this PR:

1. The `dist-various-2` container, which already produces the other WASI
   targets, now has an extra target added for `wasm32-wasip2`.
2. A new `wasm-component-ld` binary is added to all host toolchains when
   LLD is enabled. This is the linker used for the `wasm32-wasip2` target.

This new linker is added for all host toolchains to ensure that all host
toolchains can produce the `wasm32-wasip2` target. This is similar to
how `rust-lld` was originally included for all host toolchains to be
able to produce WebAssembly output when the targets were first added.
The new linker is developed [here][wasm-component-ld] and is pulled in
via a crates.io-based dependency to the tree here.

[wasm-component-ld]: https://github.com/bytecodealliance/wasm-component-ld
2024-07-09 12:11:08 -07:00
..
bootstrap Promote the wasm32-wasip2 target to Tier 2 2024-07-09 12:11:08 -07:00
ci Promote the wasm32-wasip2 target to Tier 2 2024-07-09 12:11:08 -07:00
doc Rollup merge of #127236 - iawia002:wasip1-threads-doc, r=Nilstrieb 2024-07-07 14:22:00 +02:00
etc Auto merge of #127001 - beetrees:f16-debuginfo, r=michaelwoerister 2024-07-09 09:07:42 +00:00
librustdoc iter_identity is a better name 2024-07-07 00:12:35 -04:00
llvm-project@c54cff0e6e Update LLVM submodule 2024-07-05 22:06:57 +08:00
rustdoc-json-types rustdoc-json: Better representation of lifetime bounds in where clauses. 2024-07-03 20:00:56 +00:00
tools Promote the wasm32-wasip2 target to Tier 2 2024-07-09 12:11:08 -07:00
README.md
stage0 bump stage0 compiler 2024-06-11 15:10:03 +02:00
version set version number to 1.81.0 2024-06-07 10:37:34 +02:00

This directory contains some source code for the Rust project, including:

  • The bootstrapping build system
  • Various submodules for tools, like cargo, tidy, etc.

For more information on how various parts of the compiler work, see the rustc dev guide.