Skip to content

build-exe does not check if the output filesystem object is a file or directory #3348

@slaide

Description

@slaide

this leads to link failure, where the linker complains that the output object is not a file, it is not one.
the error message is clear there, but zig should emit the error, not the linker.

sample: create main.zig and directory main in the same folder, build-exe main.zig with no specified output directory

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementSolving this issue will likely involve adding new logic or components to the codebase.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions