authorgravatar for kubkon@jakubkonka.comJakub Konka <kubkon@jakubkonka.com> 2022-06-13 23:51:25+02:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2022-06-17 16:38:59-07:00
logf572e5a0c4e4ff34566533131b3423688a439863
tree7870f45e85cb8d72ed9458115a1a95e937ae8700
parent57c530155f0c7754386c50fb9bc128198cab705c

compiler_rt: shuffle order of imports to mark relevant symbols for export


1 files changed, 14 insertions(+), 12 deletions(-)

lib/compiler_rt.zig+14-12
......@@ -2,8 +2,21 @@ const builtin = @import("builtin");
22pub const panic = @import("compiler_rt/common.zig").panic;
33
44comptime {
5 // These files do their own comptime exporting logic.
5 // TODO moving these around makes or breaks compilation of zig1.o for some reason
6 // Perhaps, until we switch to stage2, exports should be duplicated between this file
7 // and files included as a standalone units?
68 _ = @import("compiler_rt/atomics.zig");
9 _ = @import("compiler_rt/addXf3.zig");
10 _ = @import("compiler_rt/mulXf3.zig");
11 _ = @import("compiler_rt/compareXf2.zig");
12 _ = @import("compiler_rt/extendXfYf2.zig");
13 _ = @import("compiler_rt/extend_f80.zig");
14 _ = @import("compiler_rt/truncXfYf2.zig");
15 _ = @import("compiler_rt/trunc_f80.zig");
16 _ = @import("compiler_rt/divtf3.zig");
17 _ = @import("compiler_rt/divsf3.zig");
18 _ = @import("compiler_rt/divdf3.zig");
19 _ = @import("compiler_rt/divxf3.zig");
720 _ = @import("compiler_rt/sin.zig");
821 _ = @import("compiler_rt/cos.zig");
922 _ = @import("compiler_rt/sincos.zig");
......@@ -23,9 +36,6 @@ comptime {
2336 _ = @import("compiler_rt/sqrt.zig");
2437 _ = @import("compiler_rt/tan.zig");
2538 _ = @import("compiler_rt/trunc.zig");
26 _ = @import("compiler_rt/extendXfYf2.zig");
27 _ = @import("compiler_rt/extend_f80.zig");
28 _ = @import("compiler_rt/compareXf2.zig");
2939 _ = @import("compiler_rt/stack_probe.zig");
3040 _ = @import("compiler_rt/divti3.zig");
3141 _ = @import("compiler_rt/modti3.zig");
......@@ -33,14 +43,6 @@ comptime {
3343 _ = @import("compiler_rt/udivti3.zig");
3444 _ = @import("compiler_rt/udivmodti4.zig");
3545 _ = @import("compiler_rt/umodti3.zig");
36 _ = @import("compiler_rt/truncXfYf2.zig");
37 _ = @import("compiler_rt/trunc_f80.zig");
38 _ = @import("compiler_rt/addXf3.zig");
39 _ = @import("compiler_rt/mulXf3.zig");
40 _ = @import("compiler_rt/divsf3.zig");
41 _ = @import("compiler_rt/divdf3.zig");
42 _ = @import("compiler_rt/divxf3.zig");
43 _ = @import("compiler_rt/divtf3.zig");
4446 _ = @import("compiler_rt/floatXiYf.zig");
4547 _ = @import("compiler_rt/fixXfYi.zig");
4648 _ = @import("compiler_rt/count0bits.zig");