@@ -2,8 +2,21 @@ const builtin = @import("builtin");
2
2
pub const panic = @import ("compiler_rt/common.zig" ).panic ;
3
3
4
4
comptime {
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?
6
8
_ = @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" );
7
20
_ = @import ("compiler_rt/sin.zig" );
8
21
_ = @import ("compiler_rt/cos.zig" );
9
22
_ = @import ("compiler_rt/sincos.zig" );
@@ -23,24 +36,13 @@ comptime {
23
36
_ = @import ("compiler_rt/sqrt.zig" );
24
37
_ = @import ("compiler_rt/tan.zig" );
25
38
_ = @import ("compiler_rt/trunc.zig" );
26
- _ = @import ("compiler_rt/extendXfYf2.zig" );
27
- _ = @import ("compiler_rt/extend_f80.zig" );
28
- _ = @import ("compiler_rt/compareXf2.zig" );
29
39
_ = @import ("compiler_rt/stack_probe.zig" );
30
40
_ = @import ("compiler_rt/divti3.zig" );
31
41
_ = @import ("compiler_rt/modti3.zig" );
32
42
_ = @import ("compiler_rt/multi3.zig" );
33
43
_ = @import ("compiler_rt/udivti3.zig" );
34
44
_ = @import ("compiler_rt/udivmodti4.zig" );
35
45
_ = @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" );
44
46
_ = @import ("compiler_rt/floatXiYf.zig" );
45
47
_ = @import ("compiler_rt/fixXfYi.zig" );
46
48
_ = @import ("compiler_rt/count0bits.zig" );
0 commit comments