Skip to content

zig interprets Build.zig as build.zig on case insensitive filesystems (i.e.. macOS/Windows) #23980

Open
@marler8997

Description

@marler8997
Contributor

Zig Version

0.14.0 and 0.15.0-dev.621+a63f7875f

Steps to Reproduce and Observed Behavior

Setup:

Within a directory that's backed with a case insensitive filesystem (i.e. macOS/Windows).

zig init
mkdir subdir
cd subdir
# running zig build --help at this point should work
touch Build.zig
zig build --help

Expected Behavior

The final zig build --help command should print the help output, but, in this case it fails to compile the build because it thinks Build.zig is actually build.zig on case insensitive filesystems.

Activity

added
bugObserved behavior contradicts documented or intended behavior
on May 24, 2025
added a commit that references this issue on May 25, 2025
43a4324
added a commit that references this issue on May 25, 2025
0220f5e
added
zig build systemstd.Build, the build runner, `zig build` subcommand, package management
on May 27, 2025
added this to the 0.15.0 milestone on May 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugObserved behavior contradicts documented or intended behavioros-macosos-windowszig build systemstd.Build, the build runner, `zig build` subcommand, package management

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

      Development

      Participants

      @alexrp@marler8997

      Issue actions

        zig interprets Build.zig as build.zig on case insensitive filesystems (i.e.. macOS/Windows) · Issue #23980 · ziglang/zig