diff options
| author | Tor Hovland <tor.hovland@bekk.no> | 2021-11-07 00:14:54 +0100 |
|---|---|---|
| committer | Tor Hovland <tor.hovland@bekk.no> | 2021-11-07 09:32:05 +0100 |
| commit | ede76c40d1f1d32e6e1536b1e08122debc52ab00 (patch) | |
| tree | fe34d1268d82a95d8081bf1741ff1813411e9c22 /compiler/rustc_driver/src | |
| parent | d4bcee9638cf8fdf7e9297438e70e20b212c6535 (diff) | |
| download | rust-ede76c40d1f1d32e6e1536b1e08122debc52ab00.tar.gz rust-ede76c40d1f1d32e6e1536b1e08122debc52ab00.zip | |
Made temps-dir an unstable option.
Diffstat (limited to 'compiler/rustc_driver/src')
| -rw-r--r-- | compiler/rustc_driver/src/lib.rs | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/compiler/rustc_driver/src/lib.rs b/compiler/rustc_driver/src/lib.rs index 6b3c65dd527..09fe3a552a0 100644 --- a/compiler/rustc_driver/src/lib.rs +++ b/compiler/rustc_driver/src/lib.rs @@ -215,7 +215,6 @@ fn run_compiler( let cfg = interface::parse_cfgspecs(matches.opt_strs("cfg")); let (odir, ofile) = make_output(&matches); - let temps_dir = make_temps_dir(&matches); let mut config = interface::Config { opts: sopts, crate_cfg: cfg, @@ -223,7 +222,6 @@ fn run_compiler( input_path: None, output_file: ofile, output_dir: odir, - temps_dir, file_loader, diagnostic_output, stderr: None, @@ -458,11 +456,6 @@ fn make_output(matches: &getopts::Matches) -> (Option<PathBuf>, Option<PathBuf>) (odir, ofile) } -// Extract temporary directory from matches. -fn make_temps_dir(matches: &getopts::Matches) -> Option<PathBuf> { - matches.opt_str("temps-dir").map(|o| PathBuf::from(&o)) -} - // Extract input (string or file and optional path) from matches. fn make_input( error_format: ErrorOutputType, |
