about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/cargo/cargo.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/cargo/cargo.rs b/src/cargo/cargo.rs
index c168b2c4550..8536bf7d830 100644
--- a/src/cargo/cargo.rs
+++ b/src/cargo/cargo.rs
@@ -367,6 +367,14 @@ fn build_cargo_options(argv: [str]) -> options {
         local_mode
     };
 
+    if mode == system_mode {
+        // FIXME: Per discussion on #1760, we need to think about how
+        // system mode works. It should install files to the normal
+        // sysroot paths, but it also needsd an area to place various
+        // cargo configuration and work files.
+        fail "system mode does not exist yet";
+    }
+
     {test: test, mode: mode, free: match.free}
 }