aboutsummaryrefslogtreecommitdiff
path: root/src/rt/rust_run_program.cpp
diff options
context:
space:
mode:
authorGraydon Hoare <[email protected]>2011-03-25 00:09:20 -0700
committerGraydon Hoare <[email protected]>2011-03-25 00:16:04 -0700
commit0f9d460e24ce9e1c09450f71502f1ab0700c0419 (patch)
tree5c924660fbcebe87c0ed052f41d4ffa806ae2638 /src/rt/rust_run_program.cpp
parentA first stab at the 'nbody' demo, with support for calling C sqrt(). (diff)
downloadrust-0f9d460e24ce9e1c09450f71502f1ab0700c0419.tar.xz
rust-0f9d460e24ce9e1c09450f71502f1ab0700c0419.zip
Placate win32 build; no idea how it can be working currently on tinderbox.
Diffstat (limited to 'src/rt/rust_run_program.cpp')
-rw-r--r--src/rt/rust_run_program.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/rt/rust_run_program.cpp b/src/rt/rust_run_program.cpp
index 5919f68e..7b73586e 100644
--- a/src/rt/rust_run_program.cpp
+++ b/src/rt/rust_run_program.cpp
@@ -76,6 +76,12 @@ rust_run_program(rust_task* task, char* argv[],
exit(1);
}
+extern "C" CDECL int
+rust_process_wait(void* task, int proc) {
+ // FIXME: stub; exists to placate linker.
+ return 0;
+}
+
#else
#error "Platform not supported."
#endif