diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2021-03-11 22:02:35 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-03-11 22:02:35 -0500 |
| commit | e9a038c33bbf171695b08540536f307b9e418173 (patch) | |
| tree | d2ca77448fca354101e96040b83a7f7edf408647 /src/Compilation.zig | |
| parent | a5cb4ab95e80c4f75356b80251c3628811956b19 (diff) | |
| parent | fc62ff77c3921758624a81970f3098300992ee47 (diff) | |
| download | zig-e9a038c33bbf171695b08540536f307b9e418173.tar.gz zig-e9a038c33bbf171695b08540536f307b9e418173.zip | |
Merge pull request #7934 from Vexu/stage2-cbe
Stage2 cbe: optionals and errors
Diffstat (limited to 'src/Compilation.zig')
| -rw-r--r-- | src/Compilation.zig | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Compilation.zig b/src/Compilation.zig index 39e10becec..786280f9ef 100644 --- a/src/Compilation.zig +++ b/src/Compilation.zig @@ -1653,6 +1653,8 @@ pub fn performAllTheWork(self: *Compilation) error{ TimerUnsupported, OutOfMemor .error_msg = null, .decl = decl, .fwd_decl = fwd_decl.toManaged(module.gpa), + // we don't want to emit optionals and error unions to headers since they have no ABI + .typedefs = undefined, }; defer dg.fwd_decl.deinit(); |
