diff options
| author | bors <bors@rust-lang.org> | 2024-02-16 19:01:25 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-02-16 19:01:25 +0000 |
| commit | 93a65c69ce60cb7b619eb1853866dff62f446e2b (patch) | |
| tree | 0ecb0f1a4f927ea90a47b4bf8978bebc46fbb151 /compiler/rustc_session/src/utils.rs | |
| parent | d2e8ecd8bd26a22111cdebfb813258450b07fbf0 (diff) | |
| parent | f4e279f2db0aa8235c59c1da1dc146b1274a63e4 (diff) | |
| download | rust-93a65c69ce60cb7b619eb1853866dff62f446e2b.tar.gz rust-93a65c69ce60cb7b619eb1853866dff62f446e2b.zip | |
Auto merge of #120348 - bjorn3:per_target_backend_selection, r=albertlarsan68
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_session/src/utils.rs')
0 files changed, 0 insertions, 0 deletions
