-
Notifications
You must be signed in to change notification settings - Fork 440
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
crate_universe: Allow passing extra args down to crate_universe_boots…
…trap (#2279) this is useful for rules_nixpkgs which allows us to specify an external rust toolchain controlled by Nix. Currently, we are required to carry a patch to modify rules_rust: https://github.com/tweag/rules_nixpkgs/tree/master/examples/toolchains/rust Now we can add something like this to our WORKSPACE to use a custom cargo and rustc: ``` crate_universe_dependencies( bootstrap = True, rust_toolchain_cargo_template = "@nix_rust//:bin/{tool}", rust_toolchain_rustc_template = "@nix_rust//:bin/{tool}", ) ``` --------- Co-authored-by: UebelAndre <github@uebelandre.com>
- Loading branch information
1 parent
a09c6d9
commit b96e37e
Showing
2 changed files
with
5 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters