Skip to content

-o no longer works as expected for multiple output types #40993

Closed
@nagisa

Description

@nagisa
$ rustc test.rs --emit=asm,llvm-ir -O --crate-type=rlib -o testold

emits single file testold with LLVM-IR in it. Previously it used to emit testold.s and testold.ll.

This is a stable→stable regression. 1.14.0 works as expected, 1.16.0 does not. Did not test 1.15.0.

Metadata

Metadata

Assignees

Labels

P-highHigh priorityT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.regression-from-stable-to-stablePerformance or correctness regression from one stable version to another.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions