about summary refs log tree commit diff
path: root/tests/codegen/patchable-function-entry/patchable-function-entry-one-flag.rs
diff options
context:
space:
mode:
authorjyn <github@jyn.dev>2024-12-18 17:53:16 -0500
committerjyn <github@jyn.dev>2024-12-18 17:53:20 -0500
commitb046e322628b2a280355e3e2e2472d6b37f926fc (patch)
tree63c83c60f1d534f36dadf4f95742aceabc8f1a07 /tests/codegen/patchable-function-entry/patchable-function-entry-one-flag.rs
parent53bbef8305877fd32d0358501fd6fc34a9e33360 (diff)
downloadrust-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/patchable-function-entry-one-flag.rs')
0 files changed, 0 insertions, 0 deletions