diff options
Diffstat (limited to 'src/codegen')
| -rw-r--r-- | src/codegen/llvm.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/codegen/llvm.zig b/src/codegen/llvm.zig index 40110993b9..7152a55d46 100644 --- a/src/codegen/llvm.zig +++ b/src/codegen/llvm.zig @@ -2811,7 +2811,7 @@ pub const Object = struct { const zcu = pt.zcu; const std_mod = zcu.std_mod; - const std_file_imported = zcu.importPkg(std_mod) catch unreachable; + const std_file_imported = pt.importPkg(std_mod) catch unreachable; const builtin_str = try zcu.intern_pool.getOrPutString(zcu.gpa, pt.tid, "builtin", .no_embedded_nulls); const std_file_root_decl = zcu.fileRootDecl(std_file_imported.file_index); |
