about summary refs log tree commit diff
path: root/compiler/rustc_pattern_analysis/src/errors.rs
diff options
context:
space:
mode:
authorbjorn3 <17426603+bjorn3@users.noreply.github.com>2023-06-08 21:22:23 +0000
committerbjorn3 <17426603+bjorn3@users.noreply.github.com>2024-01-25 18:55:27 +0000
commit28af00c611164bfbb242b2184bd3168ac1e57d2b (patch)
tree345e3e2893ccbdf60d40e2e48587de41eaa4e5ec /compiler/rustc_pattern_analysis/src/errors.rs
parent5bd5d214effd494f4bafb29b3a7a2f6c2070ca5c (diff)
downloadrust-28af00c611164bfbb242b2184bd3168ac1e57d2b.tar.gz
rust-28af00c611164bfbb242b2184bd3168ac1e57d2b.zip
Support configuring the set of codegen backends to build per host triple
This allows building the compiler itself with one backend while using
another backend at runtime. For example this allows compiling rustc to
wasm using LLVM, while using Cranelift at runtime to produce actual
code. Cranelift can't compile to wasm, but is perfectly capable of
running on wasm. LLVM can compile to wasm, but can't run on wasm. [^1]

[^1]: The prototype of this still requires a couple of other patches.
Diffstat (limited to 'compiler/rustc_pattern_analysis/src/errors.rs')
0 files changed, 0 insertions, 0 deletions