91536813ec
* try some macos travis stuff * put c in the link libs for macos since we always link with libSystem * for non-native targets on macos, allow runtime symbol resolution - it's causing an infinite loop in LLD. * for macos, always build compiler_rt and turn on LinkOnce because compiler_rt on darwin is missing some stuff.
11 lines
274 B
Zig
11 lines
274 B
Zig
const fixuint = @import("fixuint.zig").fixuint;
|
|
|
|
export fn __fixunssfsi(a: f32) -> u32 {
|
|
@setGlobalLinkage(__fixunssfsi, @import("builtin").GlobalLinkage.LinkOnce);
|
|
return fixuint(f32, u32, a);
|
|
}
|
|
|
|
test "import fixunssfsi" {
|
|
_ = @import("fixunssfsi_test.zig");
|
|
}
|