Update src/doc/rustc/src/linker-plugin-lto.md
Co-authored-by: Noah Lev <camelidcamel@gmail.com>
This commit is contained in:
parent
032c545427
commit
b75cb95c26
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ option:
|
||||||
rustc -Clinker-plugin-lto="/path/to/LLVMgold.so" -L. -Copt-level=2 ./main.rs
|
rustc -Clinker-plugin-lto="/path/to/LLVMgold.so" -L. -Copt-level=2 ./main.rs
|
||||||
```
|
```
|
||||||
|
|
||||||
### Usage with clang-cl and --target x86_64-pc-windows-msvc
|
### Usage with clang-cl and x86_64-pc-windows-msvc
|
||||||
|
|
||||||
Cross language LTO can be used with the x86_64-pc-windows-msvc target, but this requires using the
|
Cross language LTO can be used with the x86_64-pc-windows-msvc target, but this requires using the
|
||||||
clang-cl compiler instead of the MSVC cl.exe included with Visual Studio Build Tools, and linking
|
clang-cl compiler instead of the MSVC cl.exe included with Visual Studio Build Tools, and linking
|
||||||
|
|
Loading…
Add table
Reference in a new issue