summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Hodge <tpg@mutabah.net>2016-09-25 11:41:46 +0800
committerJohn Hodge <tpg@mutabah.net>2016-09-25 11:41:46 +0800
commitd8d68be7ebee43e47ce7be630f502895b3673010 (patch)
treec8c780f8f80efcbb5fd4d9d94a3f3e93e31dfddc
parent6ca23cb77720210d98903c17fa8ad054edb9da85 (diff)
downloadmrust-d8d68be7ebee43e47ce7be630f502895b3673010.tar.gz
Makefile - Add libstd to `make test`
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index d9e76cc2..0bd98321 100644
--- a/Makefile
+++ b/Makefile
@@ -105,6 +105,10 @@ output/librustc_unicode.hir: $(RUSTCSRC)src/librustc_unicode/lib.rs output/libco
@echo "--- [MRUSTC] $@"
@mkdir -p output/
$(DBG) $(BIN) $< -o $@ $(PIPECMD)
+output/libstd.hir: $(RUSTCSRC)src/libstd/lib.rs $(patsubst %,output/lib%.hir,core collections) $(BIN)
+ @echo "--- [MRUSTC] $@"
+ @mkdir -p output/
+ $(DBG) $(BIN) $< -o $@ $(PIPECMD)
.PHONY: UPDATE
UPDATE:
@@ -126,7 +130,7 @@ output/rust/%.o: $(RUST_TESTS_DIR)%.rs $(BIN)
touch $@
.PHONY: test test_rustos
-test: output/libcore.hir output/liballoc.hir output/libcollections.hir $(BIN)
+test: output/libcore.hir output/liballoc.hir output/libcollections.hir output/libstd.hir $(BIN)
test_rustos: $(addprefix output/rust_os/,libkernel.rlib)