commit | 78d702b0d578d8a3818fbce234a9f9ef7d4b1311 | [log] [tgz] |
---|---|---|
author | UebelAndre <github@uebelandre.com> | Fri Mar 04 09:15:44 2022 -0800 |
committer | GitHub <noreply@github.com> | Fri Mar 04 09:15:44 2022 -0800 |
tree | 1d54db254ac734cbecd6911849bf2b5761b362a1 | |
parent | 40dce282a25d411c36cbaaac061c97d0805e5bb2 [diff] |
Allow `cargo_build_script` to forward rustc args to build scripts (#1165) * Updated `cargo_build_script` to set `--sysroot` via `CARGO_ENCODED_RUSTFLAGS` * Update cargo/cargo_build_script.bzl Co-authored-by: Daniel Wagner-Hall <dawagner@gmail.com> * Update cargo/cargo_build_script.bzl Co-authored-by: Daniel Wagner-Hall <dawagner@gmail.com> * Allow `cargo_build_script` to forward rustc args to build scripts * Regenerate documentation * Fixed escaped ascii value * Added testing for `CARGO_ENCODED_RUSTFLAGS` * Update test/cargo_build_script/build.rs Co-authored-by: Daniel Wagner-Hall <dawagner@gmail.com> * Fixed unresolved `pwd` template Co-authored-by: Daniel Wagner-Hall <dawagner@gmail.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.