mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-26 06:35:27 +00:00
Warn when -C extra-filename
flag is used with -o
This commit is contained in:
parent
d97da7d536
commit
9a2f02df66
@ -1378,6 +1378,9 @@ pub fn build_output_filenames(input: &Input,
|
||||
if *odir != None {
|
||||
sess.warn("ignoring --out-dir flag due to -o flag.");
|
||||
}
|
||||
if !sess.opts.cg.extra_filename.is_empty() {
|
||||
sess.warn("ignoring -C extra-filename flag due to -o flag.");
|
||||
}
|
||||
|
||||
let cur_dir = Path::new("");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user