translate-c libc headers

This commit is contained in:
2026-07-02 18:33:53 +02:00
parent 33ce1c27d1
commit b1ddecfc2e
6 changed files with 535 additions and 3 deletions
+2
View File
@@ -48,6 +48,8 @@ signatures on `aarch64-macos`. Unsupported or incomplete records remain
pointer-only. Header imports never add linker inputs; implementations must still
be supplied explicitly with the C-prefixed linking options. Set
`BROLANG_LIBCLANG_PATH` when libclang is not installed in a standard location.
For offline bindings, `brolang --translate-c stdio.h` resolves standard C
headers through the Zig libc headers used by the backend.
```bro
native :: import "../include/native.h"