about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc/build_system/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-10-23 13:57:19 +0000
committerbors <bors@rust-lang.org>2023-10-23 13:57:19 +0000
commit858a42bf46a49bc64228d69b757294fe7a9bba6c (patch)
tree5e966ac652ba294bf527d9ec58f7e30364fe92e8 /compiler/rustc_codegen_gcc/build_system/src
parent8501f1c7ba440c97833ea9dec03965b4d5ef2fd7 (diff)
parent3cc26c6aaf1357d969be2eed8c07895c80bb2b01 (diff)
downloadrust-858a42bf46a49bc64228d69b757294fe7a9bba6c.tar.gz
rust-858a42bf46a49bc64228d69b757294fe7a9bba6c.zip
Auto merge of #116837 - oli-obk:smir_run_macro, r=spastorino
Avoid having `rustc_smir` depend on `rustc_interface` or `rustc_driver`

This is done by moving all the logic into a macro that performs the entire "run" operation in one go.

This makes https://github.com/rust-lang/rust/pull/116806 obsolete

as a follow up we should make the macro usable without manually having to write

```rust
#[macro_use]
extern crate rustc_smir;
extern crate stable_mir;
extern crate rustc_driver;
extern crate rustc_interface;
use rustc_smir::rustc_internal;
```

in every crate that uses the macro.

r? `@spastorino`
Diffstat (limited to 'compiler/rustc_codegen_gcc/build_system/src')
0 files changed, 0 insertions, 0 deletions