Commit 0be9f3f5 authored by RILLING Louis's avatar RILLING Louis
Browse files

fake-vm: Work around a Cargo bug unifying too many features when building a workspace

parent 631325f4
LIB_CRATES := fake_vm_capi
CARGO := cargo
CARGO_FLAGS ?=
TEST_FLAGS ?=
......@@ -19,8 +21,11 @@ DEST_LIB_DIR := $(PREFIX)/lib
DEST_INC_DIR := $(PREFIX)/include
.PHONY: build
build:
$(CARGO) build $(CARGO_FLAGS)
build: $(LIB_CRATES)
.PHONY: $(LIB_CRATES)
$(LIB_CRATES):
$(CARGO) build -p $@ $(CARGO_FLAGS)
.PHONY: test
test: cargo-tests other-tests
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment