]> git.lizzy.rs Git - rust.git/blobdiff - src/compiletest/common.rs
mk: Fix non-android cross builds.
[rust.git] / src / compiletest / common.rs
index 4cf224cf404a14e61c9da3bcfb96d602ac772115..4d1f7ab595679c7e46e7116aae2f13655ee28283 100644 (file)
@@ -77,8 +77,11 @@ pub struct config {
     // for running under valgrind
     runtool: Option<~str>,
 
-    // Flags to pass to the compiler
-    rustcflags: Option<~str>,
+    // Flags to pass to the compiler when building for the host
+    host_rustcflags: Option<~str>,
+
+    // Flags to pass to the compiler when building for the target
+    target_rustcflags: Option<~str>,
 
     // Run tests using the JIT
     jit: bool,