aboutsummaryrefslogtreecommitdiff
path: root/nix-rust/local.mk
diff options
context:
space:
mode:
Diffstat (limited to 'nix-rust/local.mk')
-rw-r--r--nix-rust/local.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/nix-rust/local.mk b/nix-rust/local.mk
index 51116b0b3..1e006e500 100644
--- a/nix-rust/local.mk
+++ b/nix-rust/local.mk
@@ -37,7 +37,9 @@ clean: clean-rust
clean-rust:
$(suppress) rm -rfv nix-rust/target
+ifneq ($(OS), Darwin)
check: rust-tests
rust-tests:
- cd nix-rust && CARGO_HOME=$$(if [[ -d vendor ]]; then echo vendor; fi) RUSTC_BOOTSTRAP=1 cargo test --release $$(if [[ -d vendor ]]; then echo -Z offline; fi)
+ cd nix-rust && CARGO_HOME=$$(if [[ -d vendor ]]; then echo vendor; fi) cargo test --release $$(if [[ -d vendor ]]; then echo --offline; fi)
+endif