diff options
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 10f9572192..fa674e28fa 100644 --- a/src/Compilation.zig +++ b/src/Compilation.zig @@ -1180,7 +1180,7 @@ pub fn create(gpa: Allocator, options: InitOptions) !*Compilation { return error.ExportTableAndImportTableConflict; } - const have_zcu = options.root_mod.root_src_path.len != 0; + const have_zcu = options.config.have_zcu; const comp: *Compilation = comp: { // For allocations that have the same lifetime as Compilation. This |
