Skip to content

Windows Dev Kit: ability for it to upgrade itself #7392

@ehaas

Description

@ehaas

Ran into this building Zig on Windows using the compiler dev kit tarball, on a system that does have MSVC installed (not sure if that matters)

According to git bisect the problem was introduced in commit a579f8a

dev kit: zig+llvm+lld+clang-x86_64-windows-gnu-0.7.0+1afea36a1

 C:\Users\Evan\Downloads\zig+llvm+lld+clang-x86_64-windows-gnu-0.7.0+1afea36a1\bin\zig.exe build -Dstage1 -Dtarget=native-native-gnu --search-prefix C:\Users\Evan\Downloads\zig+llvm+lld+clang-x86_64-windows-gnu-0.7.0+1afea36a1
.\src\link\MachO.zig:1819:34: error: container 'std.macho' has no member called 'EXPORT_SYMBOL_FLAGS_KIND_REGULAR'
            .export_flags = macho.EXPORT_SYMBOL_FLAGS_KIND_REGULAR,
                                 ^
.\src\link\MachO.zig:315:13: note: referenced here
            try self.writeExportTrie();
            ^
.\src\link.zig:479:13: note: referenced here
            try base.flushModule(comp);
            ^
.\src\Compilation.zig:1249:5: note: referenced here
    try self.bin_file.flush(self);
    ^
.\src\main.zig:1927:5: note: referenced here
    try comp.update();
    ^
.\src\main.zig:1789:49: note: referenced here
    updateModule(gpa, comp, zir_out_path, hook) catch |err| switch (err) {
                                                ^

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementSolving this issue will likely involve adding new logic or components to the codebase.os-windowsMicrosoft Windows

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions