Skip to content

Missing CommonCrypto/CommonCrypto.h #23795

@lodinukal

Description

@lodinukal

Zig Version

0.15.0-dev.465+bb79c85cb

Steps to Reproduce and Observed Behavior

When trying to compile libgit2, I get

C:\Users\-\AppData\Local\zig\p\N-V-__8AAJbmLwHHxHDWkz0i6WIR6FpNe6tXSLzaPuWtvBBg\deps/ntlmclient/crypt_commoncrypto.c:16:10: error: 'CommonCrypto/CommonCrypto.h' file not found
#include <CommonCrypto/CommonCrypto.h>
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Upon searching for the CommonCrypto.h header in the zig libc for macos, it isn't there (https://github.com/ziglang/zig/tree/master/lib/libc/include/any-macos-any/CommonCrypto)

Expected Behavior

I expected CommonCrypto/CommonCrypto.h to be included in zig's bundled macos libc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugObserved behavior contradicts documented or intended behaviorlibcIssues related to libzigc and Zig's vendored libc code.os-macos

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions