Commit 90e4505
thomas
This commit fixes issue #2406 by using the [`link-args`] codegen option
of `rustc`:
```
-C
link-args=<user_link_flags>
```
where `<user_link_flags>` are the flags from the [`user_link_flags`]
field of [`LinkerInput`].
[`user_link_flags`]:
https://bazel.build/rules/lib/builtins/LinkerInput#user_link_flags
[`LinkerInput`]: https://bazel.build/rules/lib/builtins/LinkerInput
[`link-args`]:
https://doc.rust-lang.org/rustc/codegen-options/index.html#link-args
1 parent 012af3b commit 90e4505
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
127 | | - | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
128 | 130 | | |
129 | 131 | | |
130 | 132 | | |
| |||
0 commit comments