diff options
| author | Ralf Jung <post@ralfj.de> | 2024-03-26 11:52:02 +0100 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2024-03-26 11:52:02 +0100 |
| commit | c51eb819fe55f458ed9261fc5cc990d29d1baa53 (patch) | |
| tree | b7fa7693317961892a57674e9194393f85d2e07c /compiler/rustc_codegen_ssa/src | |
| parent | eee5a77ed0352817e32a37832f144c3364394ff8 (diff) | |
| parent | 59c217fed2bc74f3685bf3461674f6b3c7e113c3 (diff) | |
| download | rust-c51eb819fe55f458ed9261fc5cc990d29d1baa53.tar.gz rust-c51eb819fe55f458ed9261fc5cc990d29d1baa53.zip | |
Merge from rustc
Diffstat (limited to 'compiler/rustc_codegen_ssa/src')
| -rw-r--r-- | compiler/rustc_codegen_ssa/src/back/write.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_ssa/src/back/write.rs b/compiler/rustc_codegen_ssa/src/back/write.rs index 4eda4c2f08c..b7bcaac3b18 100644 --- a/compiler/rustc_codegen_ssa/src/back/write.rs +++ b/compiler/rustc_codegen_ssa/src/back/write.rs @@ -592,7 +592,7 @@ fn produce_final_output_artifacts( .unwrap() .to_owned(); - if crate_output.outputs.contains_key(&output_type) { + if crate_output.outputs.contains_explicit_name(&output_type) { // 2) Multiple codegen units, with `--emit foo=some_name`. We have // no good solution for this case, so warn the user. sess.dcx().emit_warn(errors::IgnoringEmitPath { extension }); |
