diff options
| author | Jacob Young <jacobly0@users.noreply.github.com> | 2023-02-20 20:50:19 -0500 |
|---|---|---|
| committer | Jacob Young <jacobly0@users.noreply.github.com> | 2023-02-21 00:00:19 -0500 |
| commit | 064b355912dd85bd06ee87101066ed0db2783796 (patch) | |
| tree | 82917d6c0b3d7628b45d0d823b683d0c355197e0 /src/Compilation.zig | |
| parent | cf7200e8f9c995bae8bedaf3c727fe710a93f1e9 (diff) | |
| download | zig-064b355912dd85bd06ee87101066ed0db2783796.tar.gz zig-064b355912dd85bd06ee87101066ed0db2783796.zip | |
CBE: use CType for type definitions
Diffstat (limited to 'src/Compilation.zig')
| -rw-r--r-- | src/Compilation.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Compilation.zig b/src/Compilation.zig index 9359d24dc3..aea1876747 100644 --- a/src/Compilation.zig +++ b/src/Compilation.zig @@ -3273,7 +3273,7 @@ fn processOneJob(comp: *Compilation, job: Job) !void { .gpa = gpa, .module = module, .error_msg = null, - .decl_index = decl_index, + .decl_index = decl_index.toOptional(), .decl = decl, .fwd_decl = fwd_decl.toManaged(gpa), .ctypes = .{}, |
