-
Notifications
You must be signed in to change notification settings - Fork 439
Commit
) Happy to rework this if there's a better approach. Motivation is to get rid of this hack I've been using (including in the `nix_cross_compiling` example): ```bazel # This seems like the best way for the Cargo generated dependencies to be # aware of `x86_64-unknown-nixos-gnu`. selects.config_setting_group( name = "x86_64-unknown-linux-gnu", match_any = [ ":x86_64-unknown-linux-gnu_linux", ":x86_64-unknown-linux-gnu_nixos", ], ) config_setting( name = "x86_64-unknown-linux-gnu_linux", constraint_values = [ "@platforms//cpu:x86_64", "@platforms//os:linux", ], ) config_setting( name = "x86_64-unknown-linux-gnu_nixos", constraint_values = [ "@platforms//cpu:x86_64", "@platforms//os:nixos", ], ) ```
- Loading branch information
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.