aboutsummaryrefslogtreecommitdiff
path: root/src/Type.zig
diff options
context:
space:
mode:
authormlugg <mlugg@mlugg.co.uk>2024-10-15 02:27:18 +0100
committermlugg <mlugg@mlugg.co.uk>2024-10-19 19:15:23 +0100
commit2d9a167cd2235ce221a9b3aec23a0e537c151380 (patch)
tree31edcd6974b2700b2146c4247d8b77be908ee344 /src/Type.zig
parentcbfe00b17df276fcf89faa1bb4380ed7f43156a0 (diff)
downloadzig-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.zig2
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;