File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -80,5 +80,14 @@ resource-constrained environments.
8080
8181rustc will use ` rust-lld ` on ` x86_64-unknown-linux-gnu ` nightlies, for much improved linking times.
8282Let us know if you encounter problems, by [ opening an
83- issue] ( https://github.com/rust-lang/rust/issues/new/choose ) on github. If that happens, you can
84- revert to the default linker with the ` -Z linker-features=-lld ` flag.
83+ issue] ( https://github.com/rust-lang/rust/issues/new/choose ) on GitHub.
84+
85+ If that happens, you can revert to the default linker with the ` -Z linker-features=-lld ` flag.
86+ Either by adding it to the usual ` RUSTFLAGS ` environment variable, or to a project's
87+ [ ` .cargo/config.toml ` ] ( https://doc.rust-lang.org/cargo/reference/config.html ) configuration file,
88+ like so:
89+
90+ ``` toml
91+ [target .x86_64-unknown-linux-gnu ]
92+ rustflags = [" -Zlinker-features=-lld" ]
93+ ```
You can’t perform that action at this time.
0 commit comments