Commit 4b5e3f0
[rust] Link dylibs with LTO
This currently only applies to libstd, and automatically to future
dylibs introduced to the build.
We start to properly set `-Zdylib-lto` since https://fxrev.dev/1001661.
Context on linking dylibs in LTO:
rust-lang/rust#31854 (comment)
Bug: 394439548
Change-Id: I48237a739cb1b2bd02c284306d6e82d43eb83cc0
Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1192917
Commit-Queue: Jay Zhuang <[email protected]>
Reviewed-by: David Turner <[email protected]>
Reviewed-by: Gulfem Savrun Yeniceri <[email protected]>1 parent fff6b3c commit 4b5e3f0
File tree
3 files changed
+0
-21
lines changed- build/config
- examples/rust/dylib/rust-bin
- src/lib/ui/carnelian
3 files changed
+0
-21
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3018 | 3018 | | |
3019 | 3019 | | |
3020 | 3020 | | |
3021 | | - | |
3022 | | - | |
3023 | | - | |
3024 | | - | |
3025 | | - | |
3026 | | - | |
3027 | | - | |
3028 | | - | |
3029 | | - | |
3030 | | - | |
3031 | | - | |
3032 | | - | |
3033 | | - | |
3034 | 3021 | | |
3035 | 3022 | | |
3036 | 3023 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | 24 | | |
30 | 25 | | |
31 | 26 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | 132 | | |
136 | 133 | | |
137 | 134 | | |
| |||
0 commit comments