My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/infra/libkookie/overlays/rust/examples/cross-wasi/Makefile

11 lines
222 B

# This Makefile is expected to be run inside nix-shell.
CARGO_FLAGS := --target wasm32-wasi
.PHONY: all
all: Cargo.toml Cargo.lock src/main.rs
cargo build $(CARGO_FLAGS)
.PHONY: test
run: all
cargo run $(CARGO_FLAGS)