zig/std/special/compiler_rt/fixunsdfti.zig
Andrew Kelley 91536813ec macos updates
* 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.
2017-08-27 02:51:25 -04:00

11 lines
276 B
Zig

const fixuint = @import("fixuint.zig").fixuint;
export fn __fixunsdfti(a: f64) -> u128 {
@setGlobalLinkage(__fixunsdfti, @import("builtin").GlobalLinkage.LinkOnce);
return fixuint(f64, u128, a);
}
test "import fixunsdfti" {
_ = @import("fixunsdfti_test.zig");
}