We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a58104 commit 9305330Copy full SHA for 9305330
Sources/_SwiftSyntaxCShims/wasm_support.c
@@ -13,7 +13,7 @@
13
#if defined(__wasm32__)
14
15
// uint32_t
16
-#define SWIFT_WASM_ABI_VERSION_RAW 1
+#define SWIFT_WASM_MACRO_ABI 1
17
18
#define _STR(X) #X
19
#define STR(X) _STR(X)
@@ -22,7 +22,7 @@
22
// Wasm Custom Section "foo". this must be a metadata section rather
23
// than a data section so we can't use __attribute__((section)) for it.
24
// See: https://reviews.llvm.org/D43097
25
-__asm__("\t.section .custom_section.swift_wasm_macro_abi,\"\",@\n\t.4byte " STR(SWIFT_WASM_ABI_VERSION_RAW) "\n");
+__asm__("\t.section .custom_section.swift_wasm_macro_abi,\"\",@\n\t.4byte " STR(SWIFT_WASM_MACRO_ABI) "\n");
26
27
// defined in CompilerPlugin.swift
28
void _swift_wasm_macro_pump(void);
0 commit comments