aboutsummaryrefslogtreecommitdiff
path: root/src/link/Wasm.zig
diff options
context:
space:
mode:
authorAlex Rønne Petersen <alex@alexrp.com>2025-02-16 15:58:47 +0100
committerAlex Rønne Petersen <alex@alexrp.com>2025-02-17 19:17:56 +0100
commite0f8d4e68e159f3b33ab7397f54379345ec683a9 (patch)
tree3f076ec7b3885eea1992401ba96b3a43d133ff93 /src/link/Wasm.zig
parent9c015e6c2b7b153f1a5897caf872a9428f232b47 (diff)
downloadzig-e0f8d4e68e159f3b33ab7397f54379345ec683a9.tar.gz
zig-e0f8d4e68e159f3b33ab7397f54379345ec683a9.zip
std.builtin: Rename CallingConvention.wasm_watc to wasm_mvp.
Diffstat (limited to 'src/link/Wasm.zig')
-rw-r--r--src/link/Wasm.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/link/Wasm.zig b/src/link/Wasm.zig
index 643c9ea952..80efa6b79a 100644
--- a/src/link/Wasm.zig
+++ b/src/link/Wasm.zig
@@ -4600,7 +4600,7 @@ fn convertZcuFnType(
if (CodeGen.firstParamSRet(cc, return_type, zcu, target)) {
try params_buffer.append(gpa, .i32); // memory address is always a 32-bit handle
} else if (return_type.hasRuntimeBitsIgnoreComptime(zcu)) {
- if (cc == .wasm_watc) {
+ if (cc == .wasm_mvp) {
const res_classes = abi.classifyType(return_type, zcu);
assert(res_classes[0] == .direct and res_classes[1] == .none);
const scalar_type = abi.scalarType(return_type, zcu);
@@ -4618,7 +4618,7 @@ fn convertZcuFnType(
if (!param_type.hasRuntimeBitsIgnoreComptime(zcu)) continue;
switch (cc) {
- .wasm_watc => {
+ .wasm_mvp => {
const param_classes = abi.classifyType(param_type, zcu);
if (param_classes[1] == .none) {
if (param_classes[0] == .direct) {