Skip to content

Commit 55b6108

Browse files
authored
Update linker-plugin-lto.md
1 parent 7430a55 commit 55b6108

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/doc/rustc/src/linker-plugin-lto.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,13 +105,13 @@ clang-cl --version
105105
If you are compiling any proc-macros, you will get this error:
106106

107107
```
108-
error: Linker plugin based LTO is not supported together with `-C prefer-dynamic` when
108+
error: Linker plugin based LTO is not supported together with `-C prefer-dynamic` when
109109
targeting Windows-like targets
110110
```
111111

112-
This is fixed if you explicitly set the target, for example
112+
This is fixed if you explicitly set the target, for example
113113
`cargo build --target x86_64-pc-windows-msvc`
114-
Without an explicit --target the flags will be passed to all compiler invocations (including build
114+
Without an explicit --target the flags will be passed to all compiler invocations (including build
115115
scripts and proc macros), see [cargo docs on rustflags](https://doc.rust-lang.org/cargo/reference/config.html#buildrustflags)
116116

117117
If you have dependencies using the `cc` crate, you will need to set these

0 commit comments

Comments
 (0)