diff options
| author | Jacob Young <jacobly0@users.noreply.github.com> | 2024-06-30 00:11:51 -0400 |
|---|---|---|
| committer | mlugg <mlugg@mlugg.co.uk> | 2024-07-04 21:01:42 +0100 |
| commit | 00da182e6875845d5727c399b3738a13b262832e (patch) | |
| tree | 3a50d94d5f514ebb83f8c36754927ae360608512 /src/Compilation.zig | |
| parent | 0e5335aaf5e0ac646fbd46a319710019d10c2971 (diff) | |
| download | zig-00da182e6875845d5727c399b3738a13b262832e.tar.gz zig-00da182e6875845d5727c399b3738a13b262832e.zip | |
cbe: fix for export changes
Diffstat (limited to 'src/Compilation.zig')
| -rw-r--r-- | src/Compilation.zig | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Compilation.zig b/src/Compilation.zig index 7447d589fd..185a9a6260 100644 --- a/src/Compilation.zig +++ b/src/Compilation.zig @@ -3466,6 +3466,9 @@ fn processOneJob(comp: *Compilation, job: Job, prog_node: std.Progress.Node) !vo }; }, .emit_h_decl => |decl_index| { + if (true) @panic("regressed compiler feature: emit-h should hook into updateExports, " ++ + "not decl analysis, which is too early to know about @export calls"); + const module = comp.module.?; const decl = module.declPtr(decl_index); |
