Skip to content

Commit 6f1c8df

Browse files
committed
Add link to -Zcodegen-backend unstable Cargo feature
1 parent babba4a commit 6f1c8df

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ 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)
@@ -86,4 +86,4 @@ Trade-offs:
8686

8787
[parallel-frontend-blog]: https://blog.rust-lang.org/2023/11/09/parallel-rustc/
8888
[parallel-frontend-issue]: https://github.com/rust-lang/rust/issues/113349
89-
89+
[codegen-backend-feature]: ../reference/unstable.md#codegen-backend

0 commit comments

Comments
 (0)