Closed ikskuh closed 1 year ago
This allows ziglibc to be used like this:
const cguana_dep = b.anonymousDependency("vendor/ziglibc", @import("vendor/ziglibc/build.zig"), .{ .target = machine_spec.platform.target, .link = .static, .start = .none, .trace = false, .optimize = .ReleaseSafe, }); const ashet_libc = cguana_dep.artifact("cguana");
I also added a prototypical support for freestanding without splitting the files up, right now only for cstd.zig
cstd.zig
This allows ziglibc to be used like this: