about summary refs log tree commit diff
path: root/src/test/run-make/execution-engine/Makefile
diff options
context:
space:
mode:
authorMurarth <murarth@gmail.com>2015-05-19 16:00:59 -0700
committerMurarth <murarth@gmail.com>2015-06-08 16:54:50 -0700
commit021e48326db304559a74f2f338d511f9674d0da7 (patch)
tree95a987c78c2e1a24bea1f19ce62bcc88d15285d7 /src/test/run-make/execution-engine/Makefile
parentaca207a65c82d7581076772846ef424f1a64449b (diff)
downloadrust-021e48326db304559a74f2f338d511f9674d0da7.tar.gz
rust-021e48326db304559a74f2f338d511f9674d0da7.zip
Changes to LLVM `ExecutionEngine` wrapper
* Removes `RustJITMemoryManager` from public API.
  This was really sort of an implementation detail to begin with.
* `__morestack` is linked to C++ wrapper code and this pointer
  is used when resolving the symbol for `ExecutionEngine` code.
* `__morestack_addr` is also resolved for `ExecutionEngine` code.
  This function is sometimes referenced in LLVM-generated code,
  but was not able to be resolved on Mac OS systems.
* Added Windows support to `ExecutionEngine` API.
* Added a test for basic `ExecutionEngine` functionality.
Diffstat (limited to 'src/test/run-make/execution-engine/Makefile')
-rw-r--r--src/test/run-make/execution-engine/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/test/run-make/execution-engine/Makefile b/src/test/run-make/execution-engine/Makefile
new file mode 100644
index 00000000000..387905f45d8
--- /dev/null
+++ b/src/test/run-make/execution-engine/Makefile
@@ -0,0 +1,8 @@
+-include ../tools.mk
+
+# This is a basic test of LLVM ExecutionEngine functionality using compiled
+# Rust code built using the `rustc` crate.
+
+all:
+	$(RUSTC) test.rs
+	$(call RUN,test $(RUSTC))