summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Hodge <tpg@mutabah.net>2016-12-16 23:40:33 +0800
committerJohn Hodge <tpg@mutabah.net>2016-12-16 23:40:33 +0800
commit55ba4b4b4429a40508eb63a9d002a7c0d15e0079 (patch)
tree6caf0dec593ed3bb7b3d2dd01154082ae3e65a7a
parent4f585058eb06e28802279249b728d0e16a618d3e (diff)
downloadmrust-55ba4b4b4429a40508eb63a9d002a7c0d15e0079.tar.gz
Makefile - Compile hello_world program after generation
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 18570b83..6315c9ce 100644
--- a/Makefile
+++ b/Makefile
@@ -208,6 +208,7 @@ rust_tests-run-fail: $(call DEF_RUST_TESTS,run-fail)
output/rust/test_run-pass_hello: $(RUST_TESTS_DIR)run-pass/hello.rs output/libstd.hir $(BIN) output/liballoc_system.hir output/libpanic_abort.hir
$(DBG) $(BIN) $< -o $@.c $(PIPECMD)
+ gcc $@.c -pthread -g -o $@
TEST_ARGS_run-pass/cfgs-on-items := --cfg fooA --cfg fooB