Skip to content

rustc --print-file-name doesn't print ".exe" on Windows #15828

@liigo

Description

@liigo
rustc --print-file-name hello.rs

prints "hello" instead of "hello.exe".

rustc -o hello2.exe --print-file-name hello.rs

prints "hello2" instead of "hello2.exe".

If no "--print-file-name", it do create hello.exe / hello2.exe file.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions