diff options
| author | jyn <github@jyn.dev> | 2024-12-18 17:53:16 -0500 |
|---|---|---|
| committer | jyn <github@jyn.dev> | 2024-12-18 17:53:20 -0500 |
| commit | b046e322628b2a280355e3e2e2472d6b37f926fc (patch) | |
| tree | 63c83c60f1d534f36dadf4f95742aceabc8f1a07 /tests/codegen/patchable-function-entry | |
| parent | 53bbef8305877fd32d0358501fd6fc34a9e33360 (diff) | |
| download | rust-b046e322628b2a280355e3e2e2472d6b37f926fc.tar.gz rust-b046e322628b2a280355e3e2e2472d6b37f926fc.zip | |
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
```
Diffstat (limited to 'tests/codegen/patchable-function-entry')
0 files changed, 0 insertions, 0 deletions
