Skip to content

Wrong default filename for --lib --emit-llvm -S #1524

@brson

Description

@brson
x86_64-unknown-linux-gnu/stage1/bin/rustc ../src/test/run-pass/hello.rs --emit-llvm -S --lib

Outputs a file named ../src/test/run-pass/hello. instead of ../src/test/run-pass/hello.ll. It does contain llasm as expected.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-frontendArea: Compiler frontend (errors, parsing and HIR)E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions