all: revert cimport workaround
This commit is contained in:
parent
0a32de381e
commit
ad981944d4
12 changed files with 29 additions and 94228 deletions
|
|
@ -1,10 +1,3 @@
|
|||
pub usingnamespace if (@import("builtin").zig_backend == .stage1 or !@import("builtin").target.isDarwin())
|
||||
@cImport({
|
||||
@cInclude("soundio/soundio.h");
|
||||
})
|
||||
else
|
||||
// TODO(self-hosted): HACK: workaround https://github.com/ziglang/zig/issues/12483
|
||||
//
|
||||
// Extracted from a build using stage1 from zig-cache/ (`cimport.zig`)
|
||||
// Then find+replace `= ?fn` -> `= ?*const fn`
|
||||
@import("cimport1.zig");
|
||||
pub usingnamespace @cImport({
|
||||
@cInclude("soundio/soundio.h");
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue