]> git.lizzy.rs Git - rust.git/commitdiff
migrate rust_run_program
authorNiko Matsakis <niko@alum.mit.edu>
Fri, 21 Oct 2011 00:12:47 +0000 (17:12 -0700)
committerBrian Anderson <banderson@mozilla.com>
Mon, 24 Oct 2011 23:06:17 +0000 (16:06 -0700)
src/lib/run_program.rs

index 8e5c949f3618eb71d283177cc8b7a1247ebba14e..3fd590dc9e4acb3518a2914a222e9926a5b67685 100644 (file)
@@ -8,7 +8,7 @@
 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;
 }