about summary refs log tree commit diff
path: root/src/rt/rust.cpp
diff options
context:
space:
mode:
authorGraydon Hoare <graydon@mozilla.com>2012-10-03 14:41:53 -0700
committerGraydon Hoare <graydon@mozilla.com>2012-10-03 15:02:22 -0700
commit365f17483800a9c688bc8606959a9121b8e855a6 (patch)
tree3b509a7f60ea0f28d7b7382ea1847001e0e6a0cd /src/rt/rust.cpp
parent72b7a7707f7baead4e569c9d3ec2fe28b9486ac9 (diff)
downloadrust-365f17483800a9c688bc8606959a9121b8e855a6.tar.gz
rust-365f17483800a9c688bc8606959a9121b8e855a6.zip
Attempt to fix os::args errors on various platforms.
Diffstat (limited to 'src/rt/rust.cpp')
-rw-r--r--src/rt/rust.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rt/rust.cpp b/src/rt/rust.cpp
index dc28f624415..11e65347f11 100644
--- a/src/rt/rust.cpp
+++ b/src/rt/rust.cpp
@@ -86,7 +86,7 @@ rust_start(uintptr_t main_fn, int argc, char **argv, void* crate_map) {
     // Load runtime configuration options from the environment.
     // FIXME #1497: Should provide a way to get these from the command
     // line as well.
-    rust_env *env = load_env();
+    rust_env *env = load_env(argc, argv);
 
     global_crate_map = crate_map;