Skip to content

look for libc at runtime on windows #539

@andrewrk

Description

@andrewrk

moved from #302

when using zig.exe outside of MSVC command prompt:

C:\Users\andy\tmp>zig.exe build-exe hello_libc.zig --library c
lld: error: could not open libcmtd.lib: no such file or directory
lld: error: could not open vcruntimed.lib: no such file or directory

this should just work if you have MSVC installed.

Metadata

Metadata

Assignees

No one assigned

    Labels

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

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions