compiler_rt: ensure no std.Io used when not testing

This commit is contained in:
Andrew Kelley 2026-01-01 13:44:36 -08:00
parent f9585ad01f
commit b64491f2d6
198 changed files with 17 additions and 395 deletions

View file

@ -1,7 +1,23 @@
const std = @import("std");
const builtin = @import("builtin");
const common = @import("compiler_rt/common.zig");
pub const panic = common.panic;
/// Avoid dragging in the runtime safety mechanisms into this .o file, unless
/// we're trying to test compiler-rt.
pub const panic = if (common.test_safety)
std.debug.FullPanic(std.debug.defaultPanic)
else
std.debug.no_panic;
pub const std_options_debug_threaded_io: ?*std.Io.Threaded = if (builtin.is_test)
std.Io.Threaded.global_single_threaded
else
null;
pub const std_options_debug_io: std.Io = if (builtin.is_test)
std.Io.Threaded.global_single_threaded.ioBasic()
else
unreachable;
comptime {
// Integer routines

View file

@ -1,8 +1,6 @@
const common = @import("./common.zig");
const absv = @import("./absv.zig").absv;
pub const panic = common.panic;
comptime {
@export(&__absvdi2, .{ .name = "__absvdi2", .linkage = common.linkage, .visibility = common.visibility });
}

View file

@ -1,8 +1,6 @@
const common = @import("./common.zig");
const absv = @import("./absv.zig").absv;
pub const panic = common.panic;
comptime {
@export(&__absvsi2, .{ .name = "__absvsi2", .linkage = common.linkage, .visibility = common.visibility });
}

View file

@ -1,8 +1,6 @@
const common = @import("./common.zig");
const absv = @import("./absv.zig").absv;
pub const panic = common.panic;
comptime {
@export(&__absvti2, .{ .name = "__absvti2", .linkage = common.linkage, .visibility = common.visibility });
}

View file

@ -1,8 +1,6 @@
const common = @import("./common.zig");
const addf3 = @import("./addf3.zig").addf3;
pub const panic = common.panic;
comptime {
if (common.want_aeabi) {
@export(&__aeabi_dadd, .{ .name = "__aeabi_dadd", .linkage = common.linkage, .visibility = common.visibility });

View file

@ -1,8 +1,6 @@
const common = @import("./common.zig");
const addf3 = @import("./addf3.zig").addf3;
pub const panic = common.panic;
comptime {
@export(&__addhf3, .{ .name = "__addhf3", .linkage = common.linkage, .visibility = common.visibility });
}

View file

@ -1,8 +1,6 @@
const common = @import("./common.zig");
const addf3 = @import("./addf3.zig").addf3;
pub const panic = common.panic;
comptime {
if (common.want_aeabi) {
@export(&__aeabi_fadd, .{ .name = "__aeabi_fadd", .linkage = common.linkage, .visibility = common.visibility });

View file

@ -1,8 +1,6 @@
const common = @import("./common.zig");
const addf3 = @import("./addf3.zig").addf3;
pub const panic = common.panic;
comptime {
if (common.want_ppc_abi) {
@export(&__addtf3, .{ .name = "__addkf3", .linkage = common.linkage, .visibility = common.visibility });

View file

@ -1,8 +1,6 @@
const common = @import("./common.zig");
const testing = @import("std").testing;
pub const panic = common.panic;
comptime {
@export(&__addvdi3, .{ .name = "__addvdi3", .linkage = common.linkage, .visibility = common.visibility });
}

View file

@ -1,8 +1,6 @@
const common = @import("./common.zig");
const testing = @import("std").testing;
pub const panic = common.panic;
comptime {
@export(&__addvsi3, .{ .name = "__addvsi3", .linkage = common.linkage, .visibility = common.visibility });
}

View file

@ -1,8 +1,6 @@
const common = @import("./common.zig");
const addf3 = @import("./addf3.zig").addf3;
pub const panic = common.panic;
comptime {
@export(&__addxf3, .{ .name = "__addxf3", .linkage = common.linkage, .visibility = common.visibility });
}

View file

@ -6,8 +6,6 @@ const target = builtin.target;
const arch = builtin.cpu.arch;
const common = @import("common.zig");
pub const panic = common.panic;
comptime {
if (!builtin.is_test) {
if (arch.isArm()) {

View file

@ -5,7 +5,6 @@ const cpu = builtin.cpu;
const arch = cpu.arch;
const linkage = common.linkage;
const visibility = common.visibility;
pub const panic = common.panic;
// This parameter is true iff the target architecture supports the bare minimum
// to implement the atomic load/store intrinsics.

View file

@ -5,8 +5,6 @@ const os = builtin.os.tag;
const abi = builtin.abi;
const common = @import("common.zig");
pub const panic = common.panic;
comptime {
if (common.want_windows_x86_msvc_abi) {
// Don't let LLVM apply the stdcall name mangling on those MSVC builtins

View file

@ -5,8 +5,6 @@ const os = builtin.os.tag;
const abi = builtin.abi;
const common = @import("common.zig");
pub const panic = common.panic;
comptime {
if (common.want_windows_x86_msvc_abi) {
// Don't let LLVM apply the stdcall name mangling on those MSVC builtins

View file

@ -2,8 +2,6 @@ const std = @import("std");
const builtin = @import("builtin");
const common = @import("common.zig");
pub const panic = common.panic;
comptime {
@export(&__bitreversesi2, .{ .name = "__bitreversesi2", .linkage = common.linkage, .visibility = common.visibility });
@export(&__bitreversedi2, .{ .name = "__bitreversedi2", .linkage = common.linkage, .visibility = common.visibility });

View file

@ -2,8 +2,6 @@ const std = @import("std");
const builtin = @import("builtin");
const common = @import("common.zig");
pub const panic = common.panic;
comptime {
@export(&__bswapsi2, .{ .name = "__bswapsi2", .linkage = common.linkage, .visibility = common.visibility });
@export(&__bswapdi2, .{ .name = "__bswapdi2", .linkage = common.linkage, .visibility = common.visibility });

View file

@ -13,8 +13,6 @@ const mem = std.mem;
const expect = std.testing.expect;
const common = @import("common.zig");
pub const panic = common.panic;
comptime {
@export(&__ceilh, .{ .name = "__ceilh", .linkage = common.linkage, .visibility = common.visibility });
@export(&ceilf, .{ .name = "ceilf", .linkage = common.linkage, .visibility = common.visibility });

View file

@ -3,7 +3,6 @@ const builtin = @import("builtin");
const arch = builtin.cpu.arch;
const os = builtin.os.tag;
const common = @import("common.zig");
pub const panic = common.panic;
// Ported from llvm-project d32170dbd5b0d54436537b6b75beaf44324e0c28

View file

@ -2,8 +2,6 @@ const std = @import("std");
const builtin = @import("builtin");
const common = @import("common.zig");
pub const panic = common.panic;
comptime {
@export(&__cmpsi2, .{ .name = "__cmpsi2", .linkage = common.linkage, .visibility = common.visibility });
@export(&__cmpdi2, .{ .name = "__cmpdi2", .linkage = common.linkage, .visibility = common.visibility });

View file

@ -3,8 +3,6 @@
const common = @import("./common.zig");
const comparef = @import("./comparef.zig");
pub const panic = common.panic;
comptime {
if (common.want_aeabi) {
@export(&__aeabi_dcmpeq, .{ .name = "__aeabi_dcmpeq", .linkage = common.linkage, .visibility = common.visibility });

View file

@ -3,8 +3,6 @@
const common = @import("./common.zig");
const comparef = @import("./comparef.zig");
pub const panic = common.panic;
comptime {
@export(&__eqhf2, .{ .name = "__eqhf2", .linkage = common.linkage, .visibility = common.visibility });
@export(&__nehf2, .{ .name = "__nehf2", .linkage = common.linkage, .visibility = common.visibility });

View file

@ -3,8 +3,6 @@
const common = @import("./common.zig");
const comparef = @import("./comparef.zig");
pub const panic = common.panic;
comptime {
if (common.want_aeabi) {
@export(&__aeabi_fcmpeq, .{ .name = "__aeabi_fcmpeq", .linkage = common.linkage, .visibility = common.visibility });

View file

@ -3,8 +3,6 @@
const common = @import("./common.zig");
const comparef = @import("./comparef.zig");
pub const panic = common.panic;
comptime {
if (common.want_ppc_abi) {
@export(&__eqtf2, .{ .name = "__eqkf2", .linkage = common.linkage, .visibility = common.visibility });

View file

@ -3,8 +3,6 @@
const common = @import("./common.zig");
const comparef = @import("./comparef.zig");
pub const panic = common.panic;
comptime {
@export(&__eqxf2, .{ .name = "__eqxf2", .linkage = common.linkage, .visibility = common.visibility });
@export(&__nexf2, .{ .name = "__nexf2", .linkage = common.linkage, .visibility = common.visibility });

View file

@ -126,10 +126,6 @@ pub const test_safety = switch (builtin.zig_backend) {
else => builtin.is_test,
};
// Avoid dragging in the runtime safety mechanisms into this .o file, unless
// we're trying to test compiler-rt.
pub const panic = if (test_safety) std.debug.FullPanic(std.debug.defaultPanic) else std.debug.no_panic;
/// This seems to mostly correspond to `clang::TargetInfo::HasFloat16`.
pub fn F16T(comptime OtherType: type) type {
return switch (builtin.cpu.arch) {

View file

@ -4,8 +4,6 @@ const mem = std.mem;
const expect = std.testing.expect;
const common = @import("common.zig");
pub const panic = common.panic;
const trig = @import("trig.zig");
const rem_pio2 = @import("rem_pio2.zig").rem_pio2;
const rem_pio2f = @import("rem_pio2f.zig").rem_pio2f;

View file

@ -2,8 +2,6 @@ const std = @import("std");
const builtin = @import("builtin");
const common = @import("common.zig");
pub const panic = common.panic;
comptime {
@export(&__clzsi2, .{ .name = "__clzsi2", .linkage = common.linkage, .visibility = common.visibility });
@export(&__clzdi2, .{ .name = "__clzdi2", .linkage = common.linkage, .visibility = common.visibility });

View file

@ -10,8 +10,6 @@ const common = @import("common.zig");
const normalize = common.normalize;
const wideMultiply = common.wideMultiply;
pub const panic = common.panic;
comptime {
if (common.want_aeabi) {
@export(&__aeabi_ddiv, .{ .name = "__aeabi_ddiv", .linkage = common.linkage, .visibility = common.visibility });

View file

@ -9,8 +9,6 @@ const arch = builtin.cpu.arch;
const common = @import("common.zig");
const normalize = common.normalize;
pub const panic = common.panic;
comptime {
if (common.want_aeabi) {
@export(&__aeabi_fdiv, .{ .name = "__aeabi_fdiv", .linkage = common.linkage, .visibility = common.visibility });

View file

@ -5,8 +5,6 @@ const common = @import("common.zig");
const normalize = common.normalize;
const wideMultiply = common.wideMultiply;
pub const panic = common.panic;
comptime {
if (common.want_ppc_abi) {
@export(&__divtf3, .{ .name = "__divkf3", .linkage = common.linkage, .visibility = common.visibility });

View file

@ -4,8 +4,6 @@ const udivmod = @import("udivmod.zig").udivmod;
const arch = builtin.cpu.arch;
const common = @import("common.zig");
pub const panic = common.panic;
comptime {
if (common.want_windows_v2u64_abi) {
@export(&__divti3_windows_x86_64, .{ .name = "__divti3", .linkage = common.linkage, .visibility = common.visibility });

View file

@ -6,8 +6,6 @@ const common = @import("common.zig");
const normalize = common.normalize;
const wideMultiply = common.wideMultiply;
pub const panic = common.panic;
comptime {
@export(&__divxf3, .{ .name = "__divxf3", .linkage = common.linkage, .visibility = common.visibility });
}

View file

@ -15,8 +15,6 @@ const expect = std.testing.expect;
/// typedef unsigned int gcc_word __attribute__((mode(word)));
const gcc_word = usize;
pub const panic = common.panic;
comptime {
if (builtin.link_libc and (builtin.abi.isAndroid() or builtin.abi.isOpenHarmony() or builtin.os.tag == .openbsd)) {
@export(&__emutls_get_address, .{ .name = "__emutls_get_address", .linkage = common.linkage, .visibility = common.visibility });

View file

@ -13,8 +13,6 @@ const expect = std.testing.expect;
const expectEqual = std.testing.expectEqual;
const common = @import("common.zig");
pub const panic = common.panic;
comptime {
@export(&__exph, .{ .name = "__exph", .linkage = common.linkage, .visibility = common.visibility });
@export(&expf, .{ .name = "expf", .linkage = common.linkage, .visibility = common.visibility });

View file

@ -13,8 +13,6 @@ const expect = std.testing.expect;
const expectEqual = std.testing.expectEqual;
const common = @import("common.zig");
pub const panic = common.panic;
comptime {
@export(&__exp2h, .{ .name = "__exp2h", .linkage = common.linkage, .visibility = common.visibility });
@export(&exp2f, .{ .name = "exp2f", .linkage = common.linkage, .visibility = common.visibility });

View file

@ -1,8 +1,6 @@
const common = @import("./common.zig");
const extendf = @import("./extendf.zig").extendf;
pub const panic = common.panic;
comptime {
if (common.want_ppc_abi) {
@export(&__extenddftf2, .{ .name = "__extenddfkf2", .linkage = common.linkage, .visibility = common.visibility });

View file

@ -1,8 +1,6 @@
const common = @import("./common.zig");
const extend_f80 = @import("./extendf.zig").extend_f80;
pub const panic = common.panic;
comptime {
@export(&__extenddfxf2, .{ .name = "__extenddfxf2", .linkage = common.linkage, .visibility = common.visibility });
}

View file

@ -1,8 +1,6 @@
const common = @import("./common.zig");
const extendf = @import("./extendf.zig").extendf;
pub const panic = common.panic;
comptime {
@export(&__extendhfdf2, .{ .name = "__extendhfdf2", .linkage = common.linkage, .visibility = common.visibility });
}

View file

@ -1,8 +1,6 @@
const common = @import("./common.zig");
const extendf = @import("./extendf.zig").extendf;
pub const panic = common.panic;
comptime {
if (common.gnu_f16_abi) {
@export(&__gnu_h2f_ieee, .{ .name = "__gnu_h2f_ieee", .linkage = common.linkage, .visibility = common.visibility });

View file

@ -1,8 +1,6 @@
const common = @import("./common.zig");
const extendf = @import("./extendf.zig").extendf;
pub const panic = common.panic;
comptime {
@export(&__extendhftf2, .{ .name = "__extendhftf2", .linkage = common.linkage, .visibility = common.visibility });
}

View file

@ -1,8 +1,6 @@
const common = @import("./common.zig");
const extend_f80 = @import("./extendf.zig").extend_f80;
pub const panic = common.panic;
comptime {
@export(&__extendhfxf2, .{ .name = "__extendhfxf2", .linkage = common.linkage, .visibility = common.visibility });
}

View file

@ -1,8 +1,6 @@
const common = @import("./common.zig");
const extendf = @import("./extendf.zig").extendf;
pub const panic = common.panic;
comptime {
if (common.want_aeabi) {
@export(&__aeabi_f2d, .{ .name = "__aeabi_f2d", .linkage = common.linkage, .visibility = common.visibility });

View file

@ -1,8 +1,6 @@
const common = @import("./common.zig");
const extendf = @import("./extendf.zig").extendf;
pub const panic = common.panic;
comptime {
if (common.want_ppc_abi) {
@export(&__extendsftf2, .{ .name = "__extendsfkf2", .linkage = common.linkage, .visibility = common.visibility });

View file

@ -1,8 +1,6 @@
const common = @import("./common.zig");
const extend_f80 = @import("./extendf.zig").extend_f80;
pub const panic = common.panic;
comptime {
@export(&__extendsfxf2, .{ .name = "__extendsfxf2", .linkage = common.linkage, .visibility = common.visibility });
}

View file

@ -1,8 +1,6 @@
const std = @import("std");
const common = @import("./common.zig");
pub const panic = common.panic;
comptime {
@export(&__extendxftf2, .{ .name = "__extendxftf2", .linkage = common.linkage, .visibility = common.visibility });
}

View file

@ -3,8 +3,6 @@ const builtin = @import("builtin");
const arch = builtin.cpu.arch;
const common = @import("common.zig");
pub const panic = common.panic;
comptime {
@export(&__fabsh, .{ .name = "__fabsh", .linkage = common.linkage, .visibility = common.visibility });
@export(&fabsf, .{ .name = "fabsf", .linkage = common.linkage, .visibility = common.visibility });

View file

@ -2,8 +2,6 @@ const builtin = @import("builtin");
const common = @import("./common.zig");
const intFromFloat = @import("./int_from_float.zig").intFromFloat;
pub const panic = common.panic;
comptime {
if (common.want_aeabi) {
@export(&__aeabi_d2lz, .{ .name = "__aeabi_d2lz", .linkage = common.linkage, .visibility = common.visibility });

View file

@ -3,8 +3,6 @@ const builtin = @import("builtin");
const common = @import("common.zig");
const bigIntFromFloat = @import("int_from_float.zig").bigIntFromFloat;
pub const panic = common.panic;
comptime {
@export(&__fixdfei, .{ .name = "__fixdfei", .linkage = common.linkage, .visibility = common.visibility });
}

View file

@ -1,8 +1,6 @@
const common = @import("./common.zig");
const intFromFloat = @import("./int_from_float.zig").intFromFloat;
pub const panic = common.panic;
comptime {
if (common.want_aeabi) {
@export(&__aeabi_d2iz, .{ .name = "__aeabi_d2iz", .linkage = common.linkage, .visibility = common.visibility });

View file

@ -2,8 +2,6 @@ const builtin = @import("builtin");
const common = @import("./common.zig");
const intFromFloat = @import("./int_from_float.zig").intFromFloat;
pub const panic = common.panic;
comptime {
if (common.want_windows_v2u64_abi) {
@export(&__fixdfti_windows_x86_64, .{ .name = "__fixdfti", .linkage = common.linkage, .visibility = common.visibility });

View file

@ -1,8 +1,6 @@
const common = @import("./common.zig");
const intFromFloat = @import("./int_from_float.zig").intFromFloat;
pub const panic = common.panic;
comptime {
@export(&__fixhfdi, .{ .name = "__fixhfdi", .linkage = common.linkage, .visibility = common.visibility });
}

View file

@ -3,8 +3,6 @@ const builtin = @import("builtin");
const common = @import("common.zig");
const bigIntFromFloat = @import("int_from_float.zig").bigIntFromFloat;
pub const panic = common.panic;
comptime {
@export(&__fixhfei, .{ .name = "__fixhfei", .linkage = common.linkage, .visibility = common.visibility });
}

View file

@ -1,8 +1,6 @@
const common = @import("./common.zig");
const intFromFloat = @import("./int_from_float.zig").intFromFloat;
pub const panic = common.panic;
comptime {
@export(&__fixhfsi, .{ .name = "__fixhfsi", .linkage = common.linkage, .visibility = common.visibility });
}

View file

@ -2,8 +2,6 @@ const builtin = @import("builtin");
const common = @import("./common.zig");
const intFromFloat = @import("./int_from_float.zig").intFromFloat;
pub const panic = common.panic;
comptime {
if (common.want_windows_v2u64_abi) {
@export(&__fixhfti_windows_x86_64, .{ .name = "__fixhfti", .linkage = common.linkage, .visibility = common.visibility });

View file

@ -2,8 +2,6 @@ const builtin = @import("builtin");
const common = @import("./common.zig");
const intFromFloat = @import("./int_from_float.zig").intFromFloat;
pub const panic = common.panic;
comptime {
if (common.want_aeabi) {
@export(&__aeabi_f2lz, .{ .name = "__aeabi_f2lz", .linkage = common.linkage, .visibility = common.visibility });

View file

@ -3,8 +3,6 @@ const builtin = @import("builtin");
const common = @import("common.zig");
const bigIntFromFloat = @import("int_from_float.zig").bigIntFromFloat;
pub const panic = common.panic;
comptime {
@export(&__fixsfei, .{ .name = "__fixsfei", .linkage = common.linkage, .visibility = common.visibility });
}

View file

@ -1,8 +1,6 @@
const common = @import("./common.zig");
const intFromFloat = @import("./int_from_float.zig").intFromFloat;
pub const panic = common.panic;
comptime {
if (common.want_aeabi) {
@export(&__aeabi_f2iz, .{ .name = "__aeabi_f2iz", .linkage = common.linkage, .visibility = common.visibility });

View file

@ -2,8 +2,6 @@ const builtin = @import("builtin");
const common = @import("./common.zig");
const intFromFloat = @import("./int_from_float.zig").intFromFloat;
pub const panic = common.panic;
comptime {
if (common.want_windows_v2u64_abi) {
@export(&__fixsfti_windows_x86_64, .{ .name = "__fixsfti", .linkage = common.linkage, .visibility = common.visibility });

View file

@ -1,8 +1,6 @@
const common = @import("./common.zig");
const intFromFloat = @import("./int_from_float.zig").intFromFloat;
pub const panic = common.panic;
comptime {
if (common.want_ppc_abi) {
@export(&__fixtfdi, .{ .name = "__fixkfdi", .linkage = common.linkage, .visibility = common.visibility });

View file

@ -3,8 +3,6 @@ const builtin = @import("builtin");
const common = @import("common.zig");
const bigIntFromFloat = @import("int_from_float.zig").bigIntFromFloat;
pub const panic = common.panic;
comptime {
@export(&__fixtfei, .{ .name = "__fixtfei", .linkage = common.linkage, .visibility = common.visibility });
}

View file

@ -1,8 +1,6 @@
const common = @import("./common.zig");
const intFromFloat = @import("./int_from_float.zig").intFromFloat;
pub const panic = common.panic;
comptime {
if (common.want_ppc_abi) {
@export(&__fixtfsi, .{ .name = "__fixkfsi", .linkage = common.linkage, .visibility = common.visibility });

View file

@ -2,8 +2,6 @@ const builtin = @import("builtin");
const common = @import("./common.zig");
const intFromFloat = @import("./int_from_float.zig").intFromFloat;
pub const panic = common.panic;
comptime {
if (common.want_windows_v2u64_abi) {
@export(&__fixtfti_windows_x86_64, .{ .name = "__fixtfti", .linkage = common.linkage, .visibility = common.visibility });

View file

@ -2,8 +2,6 @@ const builtin = @import("builtin");
const common = @import("./common.zig");
const intFromFloat = @import("./int_from_float.zig").intFromFloat;
pub const panic = common.panic;
comptime {
if (common.want_aeabi) {
@export(&__aeabi_d2ulz, .{ .name = "__aeabi_d2ulz", .linkage = common.linkage, .visibility = common.visibility });

View file

@ -3,8 +3,6 @@ const builtin = @import("builtin");
const common = @import("common.zig");
const bigIntFromFloat = @import("int_from_float.zig").bigIntFromFloat;
pub const panic = common.panic;
comptime {
@export(&__fixunsdfei, .{ .name = "__fixunsdfei", .linkage = common.linkage, .visibility = common.visibility });
}

View file

@ -1,8 +1,6 @@
const common = @import("./common.zig");
const intFromFloat = @import("./int_from_float.zig").intFromFloat;
pub const panic = common.panic;
comptime {
if (common.want_aeabi) {
@export(&__aeabi_d2uiz, .{ .name = "__aeabi_d2uiz", .linkage = common.linkage, .visibility = common.visibility });

View file

@ -2,8 +2,6 @@ const builtin = @import("builtin");
const common = @import("./common.zig");
const intFromFloat = @import("./int_from_float.zig").intFromFloat;
pub const panic = common.panic;
comptime {
if (common.want_windows_v2u64_abi) {
@export(&__fixunsdfti_windows_x86_64, .{ .name = "__fixunsdfti", .linkage = common.linkage, .visibility = common.visibility });

View file

@ -1,8 +1,6 @@
const common = @import("./common.zig");
const intFromFloat = @import("./int_from_float.zig").intFromFloat;
pub const panic = common.panic;
comptime {
@export(&__fixunshfdi, .{ .name = "__fixunshfdi", .linkage = common.linkage, .visibility = common.visibility });
}

View file

@ -3,8 +3,6 @@ const builtin = @import("builtin");
const common = @import("common.zig");
const bigIntFromFloat = @import("int_from_float.zig").bigIntFromFloat;
pub const panic = common.panic;
comptime {
@export(&__fixunshfei, .{ .name = "__fixunshfei", .linkage = common.linkage, .visibility = common.visibility });
}

View file

@ -1,8 +1,6 @@
const common = @import("./common.zig");
const intFromFloat = @import("./int_from_float.zig").intFromFloat;
pub const panic = common.panic;
comptime {
@export(&__fixunshfsi, .{ .name = "__fixunshfsi", .linkage = common.linkage, .visibility = common.visibility });
}

View file

@ -2,8 +2,6 @@ const builtin = @import("builtin");
const common = @import("./common.zig");
const intFromFloat = @import("./int_from_float.zig").intFromFloat;
pub const panic = common.panic;
comptime {
if (common.want_windows_v2u64_abi) {
@export(&__fixunshfti_windows_x86_64, .{ .name = "__fixunshfti", .linkage = common.linkage, .visibility = common.visibility });

View file

@ -2,8 +2,6 @@ const builtin = @import("builtin");
const common = @import("./common.zig");
const intFromFloat = @import("./int_from_float.zig").intFromFloat;
pub const panic = common.panic;
comptime {
if (common.want_aeabi) {
@export(&__aeabi_f2ulz, .{ .name = "__aeabi_f2ulz", .linkage = common.linkage, .visibility = common.visibility });

View file

@ -3,8 +3,6 @@ const builtin = @import("builtin");
const common = @import("common.zig");
const bigIntFromFloat = @import("int_from_float.zig").bigIntFromFloat;
pub const panic = common.panic;
comptime {
@export(&__fixunssfei, .{ .name = "__fixunssfei", .linkage = common.linkage, .visibility = common.visibility });
}

View file

@ -1,8 +1,6 @@
const common = @import("./common.zig");
const intFromFloat = @import("./int_from_float.zig").intFromFloat;
pub const panic = common.panic;
comptime {
if (common.want_aeabi) {
@export(&__aeabi_f2uiz, .{ .name = "__aeabi_f2uiz", .linkage = common.linkage, .visibility = common.visibility });

View file

@ -2,8 +2,6 @@ const builtin = @import("builtin");
const common = @import("./common.zig");
const intFromFloat = @import("./int_from_float.zig").intFromFloat;
pub const panic = common.panic;
comptime {
if (common.want_windows_v2u64_abi) {
@export(&__fixunssfti_windows_x86_64, .{ .name = "__fixunssfti", .linkage = common.linkage, .visibility = common.visibility });

View file

@ -1,8 +1,6 @@
const common = @import("./common.zig");
const intFromFloat = @import("./int_from_float.zig").intFromFloat;
pub const panic = common.panic;
comptime {
if (common.want_ppc_abi) {
@export(&__fixunstfdi, .{ .name = "__fixunskfdi", .linkage = common.linkage, .visibility = common.visibility });

View file

@ -3,8 +3,6 @@ const builtin = @import("builtin");
const common = @import("common.zig");
const bigIntFromFloat = @import("int_from_float.zig").bigIntFromFloat;
pub const panic = common.panic;
comptime {
@export(&__fixunstfei, .{ .name = "__fixunstfei", .linkage = common.linkage, .visibility = common.visibility });
}

View file

@ -1,8 +1,6 @@
const common = @import("./common.zig");
const intFromFloat = @import("./int_from_float.zig").intFromFloat;
pub const panic = common.panic;
comptime {
if (common.want_ppc_abi) {
@export(&__fixunstfsi, .{ .name = "__fixunskfsi", .linkage = common.linkage, .visibility = common.visibility });

View file

@ -2,8 +2,6 @@ const builtin = @import("builtin");
const common = @import("./common.zig");
const intFromFloat = @import("./int_from_float.zig").intFromFloat;
pub const panic = common.panic;
comptime {
if (common.want_windows_v2u64_abi) {
@export(&__fixunstfti_windows_x86_64, .{ .name = "__fixunstfti", .linkage = common.linkage, .visibility = common.visibility });

View file

@ -1,8 +1,6 @@
const common = @import("./common.zig");
const intFromFloat = @import("./int_from_float.zig").intFromFloat;
pub const panic = common.panic;
comptime {
@export(&__fixunsxfdi, .{ .name = "__fixunsxfdi", .linkage = common.linkage, .visibility = common.visibility });
}

View file

@ -3,8 +3,6 @@ const builtin = @import("builtin");
const common = @import("common.zig");
const bigIntFromFloat = @import("int_from_float.zig").bigIntFromFloat;
pub const panic = common.panic;
comptime {
@export(&__fixunsxfei, .{ .name = "__fixunsxfei", .linkage = common.linkage, .visibility = common.visibility });
}

View file

@ -1,8 +1,6 @@
const common = @import("./common.zig");
const intFromFloat = @import("./int_from_float.zig").intFromFloat;
pub const panic = common.panic;
comptime {
@export(&__fixunsxfsi, .{ .name = "__fixunsxfsi", .linkage = common.linkage, .visibility = common.visibility });
}

View file

@ -2,8 +2,6 @@ const builtin = @import("builtin");
const common = @import("./common.zig");
const intFromFloat = @import("./int_from_float.zig").intFromFloat;
pub const panic = common.panic;
comptime {
if (common.want_windows_v2u64_abi) {
@export(&__fixunsxfti_windows_x86_64, .{ .name = "__fixunsxfti", .linkage = common.linkage, .visibility = common.visibility });

View file

@ -1,8 +1,6 @@
const common = @import("./common.zig");
const intFromFloat = @import("./int_from_float.zig").intFromFloat;
pub const panic = common.panic;
comptime {
@export(&__fixxfdi, .{ .name = "__fixxfdi", .linkage = common.linkage, .visibility = common.visibility });
}

View file

@ -3,8 +3,6 @@ const builtin = @import("builtin");
const common = @import("common.zig");
const bigIntFromFloat = @import("int_from_float.zig").bigIntFromFloat;
pub const panic = common.panic;
comptime {
@export(&__fixxfei, .{ .name = "__fixxfei", .linkage = common.linkage, .visibility = common.visibility });
}

View file

@ -1,8 +1,6 @@
const common = @import("./common.zig");
const intFromFloat = @import("./int_from_float.zig").intFromFloat;
pub const panic = common.panic;
comptime {
@export(&__fixxfsi, .{ .name = "__fixxfsi", .linkage = common.linkage, .visibility = common.visibility });
}

View file

@ -2,8 +2,6 @@ const builtin = @import("builtin");
const common = @import("./common.zig");
const intFromFloat = @import("./int_from_float.zig").intFromFloat;
pub const panic = common.panic;
comptime {
if (common.want_windows_v2u64_abi) {
@export(&__fixxfti_windows_x86_64, .{ .name = "__fixxfti", .linkage = common.linkage, .visibility = common.visibility });

View file

@ -2,8 +2,6 @@ const builtin = @import("builtin");
const common = @import("./common.zig");
const floatFromInt = @import("./float_from_int.zig").floatFromInt;
pub const panic = common.panic;
comptime {
if (common.want_aeabi) {
@export(&__aeabi_l2d, .{ .name = "__aeabi_l2d", .linkage = common.linkage, .visibility = common.visibility });

View file

@ -1,8 +1,6 @@
const common = @import("./common.zig");
const floatFromInt = @import("./float_from_int.zig").floatFromInt;
pub const panic = common.panic;
comptime {
@export(&__floatdihf, .{ .name = "__floatdihf", .linkage = common.linkage, .visibility = common.visibility });
}

View file

@ -2,8 +2,6 @@ const builtin = @import("builtin");
const common = @import("./common.zig");
const floatFromInt = @import("./float_from_int.zig").floatFromInt;
pub const panic = common.panic;
comptime {
if (common.want_aeabi) {
@export(&__aeabi_l2f, .{ .name = "__aeabi_l2f", .linkage = common.linkage, .visibility = common.visibility });

View file

@ -1,8 +1,6 @@
const common = @import("./common.zig");
const floatFromInt = @import("./float_from_int.zig").floatFromInt;
pub const panic = common.panic;
comptime {
if (common.want_ppc_abi) {
@export(&__floatditf, .{ .name = "__floatdikf", .linkage = common.linkage, .visibility = common.visibility });

View file

@ -1,8 +1,6 @@
const common = @import("./common.zig");
const floatFromInt = @import("./float_from_int.zig").floatFromInt;
pub const panic = common.panic;
comptime {
@export(&__floatdixf, .{ .name = "__floatdixf", .linkage = common.linkage, .visibility = common.visibility });
}

View file

@ -3,8 +3,6 @@ const builtin = @import("builtin");
const common = @import("common.zig");
const floatFromBigInt = @import("float_from_int.zig").floatFromBigInt;
pub const panic = common.panic;
comptime {
@export(&__floateidf, .{ .name = "__floateidf", .linkage = common.linkage, .visibility = common.visibility });
}

View file

@ -3,8 +3,6 @@ const builtin = @import("builtin");
const common = @import("common.zig");
const floatFromBigInt = @import("float_from_int.zig").floatFromBigInt;
pub const panic = common.panic;
comptime {
@export(&__floateihf, .{ .name = "__floateihf", .linkage = common.linkage, .visibility = common.visibility });
}

View file

@ -3,8 +3,6 @@ const builtin = @import("builtin");
const common = @import("common.zig");
const floatFromBigInt = @import("float_from_int.zig").floatFromBigInt;
pub const panic = common.panic;
comptime {
@export(&__floateisf, .{ .name = "__floateisf", .linkage = common.linkage, .visibility = common.visibility });
}

View file

@ -3,8 +3,6 @@ const builtin = @import("builtin");
const common = @import("common.zig");
const floatFromBigInt = @import("float_from_int.zig").floatFromBigInt;
pub const panic = common.panic;
comptime {
@export(&__floateitf, .{ .name = "__floateitf", .linkage = common.linkage, .visibility = common.visibility });
}

View file

@ -3,8 +3,6 @@ const builtin = @import("builtin");
const common = @import("common.zig");
const floatFromBigInt = @import("float_from_int.zig").floatFromBigInt;
pub const panic = common.panic;
comptime {
@export(&__floateixf, .{ .name = "__floateixf", .linkage = common.linkage, .visibility = common.visibility });
}

View file

@ -1,8 +1,6 @@
const common = @import("./common.zig");
const floatFromInt = @import("./float_from_int.zig").floatFromInt;
pub const panic = common.panic;
comptime {
if (common.want_aeabi) {
@export(&__aeabi_i2d, .{ .name = "__aeabi_i2d", .linkage = common.linkage, .visibility = common.visibility });

View file

@ -1,8 +1,6 @@
const common = @import("./common.zig");
const floatFromInt = @import("./float_from_int.zig").floatFromInt;
pub const panic = common.panic;
comptime {
@export(&__floatsihf, .{ .name = "__floatsihf", .linkage = common.linkage, .visibility = common.visibility });
}

View file

@ -1,8 +1,6 @@
const common = @import("./common.zig");
const floatFromInt = @import("./float_from_int.zig").floatFromInt;
pub const panic = common.panic;
comptime {
if (common.want_aeabi) {
@export(&__aeabi_i2f, .{ .name = "__aeabi_i2f", .linkage = common.linkage, .visibility = common.visibility });

Some files were not shown because too many files have changed in this diff Show more