commit | 4b5e3f08a544eade31464de8eb4adcbef621eabb | [log] [tgz] |
---|---|---|
author | Jay Zhuang <jayzhuang@google.com> | Wed Feb 05 15:26:26 2025 -0800 |
committer | CQ Bot <fuchsia-internal-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Feb 05 15:26:26 2025 -0800 |
tree | 00c796a7de80154947fb93eeee93f854d7c6026a | |
parent | fff6b3c4354b4e6e72beb3cc9cbe09d893ff8489 [diff] |
[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: https://github.com/rust-lang/rust/issues/31854#issuecomment-1563955354 Bug: 394439548 Change-Id: I48237a739cb1b2bd02c284306d6e82d43eb83cc0 Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1192917 Commit-Queue: Jay Zhuang <jayzhuang@google.com> Reviewed-by: David Turner <digit@google.com> Reviewed-by: Gulfem Savrun Yeniceri <gulfem@google.com>
Fuchsia is an open source, general purpose operating system supporting modern 64-bit Intel and ARM processors.
We expect everyone interacting with our project to respect our code of conduct.
Read more about Fuchsia's principles.
See Getting Started.
See fuchsia.dev.