| author | |
| committer | |
| log | 22e961070d2299d6189b0ad82e04763e504a0208 |
| tree | 8b749d98a6c3403a6e89aa7455d419f814772458 |
| parent | afa07f723f956d78a4bd4c4be10ef04e86e50521 |
| signature |
2 files changed, 6 insertions(+), 2 deletions(-)
src/link/Goff.zig+3-1| ... | ... | @@ -102,9 +102,11 @@ pub fn updateExports( |
| 102 | 102 | } |
| 103 | 103 | |
| 104 | 104 | pub fn flush(self: *Goff, arena: Allocator, tid: Zcu.PerThread.Id, prog_node: std.Progress.Node) link.File.FlushError!void { |
| 105 | if (build_options.skip_non_native and builtin.object_format != .goff) | |
| 106 | @panic("Attempted to compile for object format that was disabled by build configuration"); | |
| 107 | ||
| 105 | 108 | _ = self; |
| 106 | 109 | _ = arena; |
| 107 | 110 | _ = tid; |
| 108 | 111 | _ = prog_node; |
| 109 | unreachable; // we always use llvm | |
| 110 | 112 | } |
src/link/Xcoff.zig+3-1| ... | ... | @@ -102,9 +102,11 @@ pub fn updateExports( |
| 102 | 102 | } |
| 103 | 103 | |
| 104 | 104 | pub fn flush(self: *Xcoff, arena: Allocator, tid: Zcu.PerThread.Id, prog_node: std.Progress.Node) link.File.FlushError!void { |
| 105 | if (build_options.skip_non_native and builtin.object_format != .xcoff) | |
| 106 | @panic("Attempted to compile for object format that was disabled by build configuration"); | |
| 107 | ||
| 105 | 108 | _ = self; |
| 106 | 109 | _ = arena; |
| 107 | 110 | _ = tid; |
| 108 | 111 | _ = prog_node; |
| 109 | unreachable; // we always use llvm | |
| 110 | 112 | } |