]> git.lizzy.rs Git - rust.git/commitdiff
Update src/doc/rustc/src/linker-plugin-lto.md
authorNicolas Abram <abramlujan@gmail.com>
Tue, 25 Jan 2022 23:19:43 +0000 (20:19 -0300)
committerGitHub <noreply@github.com>
Tue, 25 Jan 2022 23:19:43 +0000 (20:19 -0300)
Co-authored-by: Noah Lev <camelidcamel@gmail.com>
src/doc/rustc/src/linker-plugin-lto.md

index ab2613198945aa191009d1dfe7de5cf35eac072a..941c65922d8f09d3d1db1a6b818a1d5420eee222 100644 (file)
@@ -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