-
-
Notifications
You must be signed in to change notification settings - Fork 108
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use local_rustflags where appropriate
Using local rustflags passed via `cargo rustc` has the advantage, that they are not set for dependencies. This is mostly benenficial in workspaces, where different crates link different C dependencies, but share common rust dependencies. If the RUSTFLAGS environment variable is used this will cause rebuilds of the common rust dependencies, since the RUSTFLAGS differ. When passing rustflags via cargo rustc, this does not happen, since they only affects the main crate.
- Loading branch information
Showing
1 changed file
with
6 additions
and
6 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