diff options
| author | Nicolas Abram <abramlujan@gmail.com> | 2022-01-25 20:19:43 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-01-25 20:19:43 -0300 |
| commit | b75cb95c269231e4e065dccc27bcf63543550325 (patch) | |
| tree | 36f3d8d4919cc9896fc2fe52abc42eac39f62bd8 /src/doc/rustc | |
| parent | 032c545427efb279c85843f1434059de13785f60 (diff) | |
| download | rust-b75cb95c269231e4e065dccc27bcf63543550325.tar.gz rust-b75cb95c269231e4e065dccc27bcf63543550325.zip | |
Update src/doc/rustc/src/linker-plugin-lto.md
Co-authored-by: Noah Lev <camelidcamel@gmail.com>
Diffstat (limited to 'src/doc/rustc')
| -rw-r--r-- | src/doc/rustc/src/linker-plugin-lto.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/rustc/src/linker-plugin-lto.md b/src/doc/rustc/src/linker-plugin-lto.md index ab261319894..941c65922d8 100644 --- a/src/doc/rustc/src/linker-plugin-lto.md +++ b/src/doc/rustc/src/linker-plugin-lto.md @@ -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 |
