zig/lib/compiler_rt/absvdi2.zig
Andrew Kelley 04c180c8e5 compiler_rt: partial cleanup
introduce `symbol` helper function and partially migrate to using it
2026-02-09 20:04:17 +01:00

10 lines
217 B
Zig

const symbol = @import("../compiler_rt.zig").symbol;
const absv = @import("./absv.zig").absv;
comptime {
symbol(&__absvdi2, "__absvdi2");
}
pub fn __absvdi2(a: i64) callconv(.c) i64 {
return absv(i64, a);
}