commit | 568bb7b70f32d52e6626c313fc1d3dc18a0757af | [log] [tgz] |
---|---|---|
author | David Havas <github.wrist068@passinbox.com> | Fri Jan 03 00:30:33 2025 +0100 |
committer | GitHub <noreply@github.com> | Thu Jan 02 23:30:33 2025 +0000 |
tree | b7debadedd28462928b889eb44b34af4d5eb3780 | |
parent | c0fe93330bbfee0a400520d378cb0de8413274e2 [diff] |
Make lto toolchain options public and don't link proc-macros with LTO (#3147) I would like to make lto setting public in toolchain so that when we are providing custom toolchains it would be easier to make configurations for LTO with `select` statements. The logic which determines the flags based on cargo outputs. Proc-macro crates can not be linked with lto and we should not emit bitcode either. This fixes #3143 --------- Co-authored-by: Daniel Wagner-Hall <dwagnerhall@apple.com>
This repository provides rules for building Rust projects with Bazel.
General discussions and announcements take place in the GitHub Discussions, but there are additional places where community members gather to discuss rules_rust
.
Please refer to the full documentation.