COLOR ?= always # Valid COLOR options: {always, auto, never}
CARGO = cargo --color $(COLOR)
.PHONY: all bench build check clean doc install publish run test update
all: build
bench:
@$(CARGO) bench
build:
@$(CARGO) build
check: build test
clean:
@$(CARGO) clean
doc:
@$(CARGO) doc
install: build
@$(CARGO) install
publish:
@$(CARGO) publish
run: build
@$(CARGO) run
test: build
@$(CARGO) test
update:
@$(CARGO) update
miri:
@env MIRIFLAGS=-Zmiri-disable-isolation\ -Zmiri-permissive-provenance\ \
$(CARGO) miri test -- --nocapture