diff --git a/src/lib/run_program.rs b/src/lib/run_program.rs index 8e5c949f361..3fd590dc9e4 100644 --- a/src/lib/run_program.rs +++ b/src/lib/run_program.rs @@ -8,7 +8,7 @@ export program_output; export spawn_process; export waitpid; -native "rust" mod rustrt { +native "c-stack-cdecl" mod rustrt { fn rust_run_program(argv: *sbuf, in_fd: int, out_fd: int, err_fd: int) -> int; }