diff options
| author | Meghan <hello@nektro.net> | 2022-01-07 00:06:06 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-01-07 00:06:06 -0500 |
| commit | c08b190c6918b33d27ceffe1ab3afd5d7f6370ea (patch) | |
| tree | 6dac2ac254e704b2c984f5135c98cd0fd85d4b15 /src/mingw.zig | |
| parent | 7f4fdcc4fce79cc1277c2a89a6a4136293c1b2e5 (diff) | |
| download | zig-c08b190c6918b33d27ceffe1ab3afd5d7f6370ea.tar.gz zig-c08b190c6918b33d27ceffe1ab3afd5d7f6370ea.zip | |
lint: duplicate import (#10519)
Diffstat (limited to 'src/mingw.zig')
| -rw-r--r-- | src/mingw.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mingw.zig b/src/mingw.zig index 264740c333..f555634459 100644 --- a/src/mingw.zig +++ b/src/mingw.zig @@ -408,7 +408,7 @@ pub fn buildImportLib(comp: *Compilation, lib_name: []const u8) !void { errdefer comp.gpa.free(lib_final_path); const llvm = @import("codegen/llvm/bindings.zig"); - const arch_type = @import("target.zig").archToLLVM(target.cpu.arch); + const arch_type = target_util.archToLLVM(target.cpu.arch); const def_final_path_z = try arena.dupeZ(u8, def_final_path); const lib_final_path_z = try arena.dupeZ(u8, lib_final_path); if (llvm.WriteImportLibrary(def_final_path_z.ptr, arch_type, lib_final_path_z.ptr, true)) { |
