Commit b046e32
committed
hook up tracing to cg_cranelift
this was easier than expected. here is an example of using RUSTC_LOG with a build of cranelift from rust-lang/rust:
```
$ RUSTC_LOG=rustc_codegen_cranelift cargo +stage1 b
Compiling example v0.1.0 (/home/jyn/src/example)
INFO rustc_codegen_cranelift codegen crate example
INFO rustc_codegen_cranelift codegen crate example
Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.44s
```1 parent 53bbef8 commit b046e32
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
| 31 | + | |
30 | 32 | | |
31 | 33 | | |
32 | 34 | | |
| |||
208 | 210 | | |
209 | 211 | | |
210 | 212 | | |
| 213 | + | |
211 | 214 | | |
212 | 215 | | |
213 | 216 | | |
| |||
0 commit comments