Skip to content

Commit 514dad1

Browse files
Only benchmark the lib target for crates.io
1 parent 3281cd5 commit 514dad1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
.PHONY: all
22

33
# at commit ef1ac581f9c4ea6a906347d43776418acfdbb8ca
4+
# We must only benchmark the lib target because otherwise we can't pass args with CARGO_RUSTC_OPTS
45

56
all:
6-
$(CARGO) rustc $(CARGO_OPTS) -- $(CARGO_RUSTC_OPTS)
7+
$(CARGO) rustc $(CARGO_OPTS) --lib -- $(CARGO_RUSTC_OPTS)
78
patches:
89
@echo ''

0 commit comments

Comments
 (0)