commit | 012af3ba8fda6acb91a440f8c86b5a45d2c4e64e | [log] [tgz] |
---|---|---|
author | thomas <108470890+thb-sb@users.noreply.github.com> | Tue Jan 09 13:17:25 2024 +0100 |
committer | GitHub <noreply@github.com> | Tue Jan 09 12:17:25 2024 +0000 |
tree | 4450a5b57dcf4c6cecbb05765cae63c6cd0a5945 | |
parent | 0972574505684d1c8ea5d76150395c1e76d9cf41 [diff] |
Fix #2402: use `get_lib_name_default(lib)` instead of `lib.owner.name`. (#2405) This commit fixes #2402 by using [`get_lib_name_default`] to pass libraries names to `rustc` through `-lstatic` instead of relying on the owner's name of the `File` object. [`get_lib_name_default`]: https://github.com/bazelbuild/rules_rust/blob/a1e9f9600cd22ecfdd08fc4a7572ccbdeba97395/rust/private/utils.bzl#L101 Co-authored-by: UebelAndre <github@uebelandre.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.