Skip to content

Commit

Permalink
Update src/doc/rustc/src/linker-plugin-lto.md
Browse files Browse the repository at this point in the history
Co-authored-by: Noah Lev <camelidcamel@gmail.com>
  • Loading branch information
nico-abram and camelid authored Jan 25, 2022
1 parent 032c545 commit b75cb95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/doc/rustc/src/linker-plugin-lto.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ option:
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
clang-cl compiler instead of the MSVC cl.exe included with Visual Studio Build Tools, and linking
Expand Down

0 comments on commit b75cb95

Please sign in to comment.