| ... | @@ -2,8 +2,21 @@ const builtin = @import("builtin"); | ... | @@ -2,8 +2,21 @@ const builtin = @import("builtin"); |
| 2 | pub const panic = @import("compiler_rt/common.zig").panic; | 2 | pub const panic = @import("compiler_rt/common.zig").panic; |
| 3 | | 3 | |
| 4 | comptime { | 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 | _ = @import("compiler_rt/atomics.zig"); | 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 | _ = @import("compiler_rt/sin.zig"); | 20 | _ = @import("compiler_rt/sin.zig"); |
| 8 | _ = @import("compiler_rt/cos.zig"); | 21 | _ = @import("compiler_rt/cos.zig"); |
| 9 | _ = @import("compiler_rt/sincos.zig"); | 22 | _ = @import("compiler_rt/sincos.zig"); |
| ... | @@ -23,9 +36,6 @@ comptime { | ... | @@ -23,9 +36,6 @@ comptime { |
| 23 | _ = @import("compiler_rt/sqrt.zig"); | 36 | _ = @import("compiler_rt/sqrt.zig"); |
| 24 | _ = @import("compiler_rt/tan.zig"); | 37 | _ = @import("compiler_rt/tan.zig"); |
| 25 | _ = @import("compiler_rt/trunc.zig"); | 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 | _ = @import("compiler_rt/stack_probe.zig"); | 39 | _ = @import("compiler_rt/stack_probe.zig"); |
| 30 | _ = @import("compiler_rt/divti3.zig"); | 40 | _ = @import("compiler_rt/divti3.zig"); |
| 31 | _ = @import("compiler_rt/modti3.zig"); | 41 | _ = @import("compiler_rt/modti3.zig"); |
| ... | @@ -33,14 +43,6 @@ comptime { | ... | @@ -33,14 +43,6 @@ comptime { |
| 33 | _ = @import("compiler_rt/udivti3.zig"); | 43 | _ = @import("compiler_rt/udivti3.zig"); |
| 34 | _ = @import("compiler_rt/udivmodti4.zig"); | 44 | _ = @import("compiler_rt/udivmodti4.zig"); |
| 35 | _ = @import("compiler_rt/umodti3.zig"); | 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 | _ = @import("compiler_rt/floatXiYf.zig"); | 46 | _ = @import("compiler_rt/floatXiYf.zig"); |
| 45 | _ = @import("compiler_rt/fixXfYi.zig"); | 47 | _ = @import("compiler_rt/fixXfYi.zig"); |
| 46 | _ = @import("compiler_rt/count0bits.zig"); | 48 | _ = @import("compiler_rt/count0bits.zig"); |