diff options
| author | mlugg <mlugg@mlugg.co.uk> | 2024-10-15 02:27:18 +0100 |
|---|---|---|
| committer | mlugg <mlugg@mlugg.co.uk> | 2024-10-19 19:15:23 +0100 |
| commit | 2d9a167cd2235ce221a9b3aec23a0e537c151380 (patch) | |
| tree | 31edcd6974b2700b2146c4247d8b77be908ee344 /src/Type.zig | |
| parent | cbfe00b17df276fcf89faa1bb4380ed7f43156a0 (diff) | |
| download | zig-2d9a167cd2235ce221a9b3aec23a0e537c151380.tar.gz zig-2d9a167cd2235ce221a9b3aec23a0e537c151380.zip | |
std.Target: rename `defaultCCallingConvention` and `Cpu.Arch.fromCallconv`
Diffstat (limited to 'src/Type.zig')
| -rw-r--r-- | src/Type.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Type.zig b/src/Type.zig index 509c0325bc..62997d2d93 100644 --- a/src/Type.zig +++ b/src/Type.zig @@ -391,7 +391,7 @@ pub fn print(ty: Type, writer: anytype, pt: Zcu.PerThread) @TypeOf(writer).Error } try writer.writeAll(") "); if (fn_info.cc != .auto) print_cc: { - if (zcu.getTarget().defaultCCallingConvention()) |ccc| { + if (zcu.getTarget().cCallingConvention()) |ccc| { if (fn_info.cc.eql(ccc)) { try writer.writeAll("callconv(.c) "); break :print_cc; |
