Skip to content

Commit 1ccbba3

Browse files
committed
cargo: Disable system mode per discussion on #1760
1 parent d846169 commit 1ccbba3

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/cargo/cargo.rs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -367,6 +367,14 @@ fn build_cargo_options(argv: [str]) -> options {
367367
local_mode
368368
};
369369

370+
if mode == system_mode {
371+
// FIXME: Per discussion on #1760, we need to think about how
372+
// system mode works. It should install files to the normal
373+
// sysroot paths, but it also needsd an area to place various
374+
// cargo configuration and work files.
375+
fail "system mode does not exist yet";
376+
}
377+
370378
{test: test, mode: mode, free: match.free}
371379
}
372380

0 commit comments

Comments
 (0)