Skip to content

The behaviour of addCSourceFile has changed in Windows #16946

@kimmolinna

Description

@kimmolinna

Zig Version

0.11.0

Steps to Reproduce and Observed Behavior

You have to write

shell.addCSourceFile(.{
            .file = std.build.LazyPath.relative("tools/shell/shell.c"), 
            .flags = &.{}
            });

Expected Behavior

shell.addCSourceFile("tools/shell/shell.c", &.{}) should still work. Compare it to behaviour of addCSourceFiles.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionNo questions on the issue tracker, please.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions