Skip to content

Commit 5f0328f

Browse files
committed
Add link to -Zcodegen-backend feature
1 parent fbe6193 commit 5f0328f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/doc/src/guide/build-performance.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,10 @@ This will change the [`dev` profile](../reference/profiles.md#dev) to use the [C
6363

6464
Trade-offs:
6565
- ✅ Faster code generation (`cargo build`)
66-
- ❌ **Requires using nightly Rust and an unstable Cargo feature**
66+
- ❌ **Requires using nightly Rust and an [unstable Cargo feature][codegen-backend-feature]**
6767
- ❌ Worse runtime performance of the generated code
6868
- Speeds up build part of `cargo test`, but might increase its test execution part
6969
- ❌ Only available for [certain targets](https://github.com/rust-lang/rustc_codegen_cranelift?tab=readme-ov-file#platform-support)
7070
- ❌ Might not support all Rust features (e.g. unwinding)
71+
72+
[codegen-backend-feature]: ../reference/unstable.md#codegen-backend

0 commit comments

Comments
 (0)