Skip to content

Commit 36d89a2

Browse files
[WASM] Add SWIFT_CC(swift) annotation for swift_COWSanityChecksEnabled to sync calling convention
1 parent 51c92f5 commit 36d89a2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

stdlib/public/runtime/EnvironmentVariables.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,7 @@ void swift::runtime::environment::initialize(void *context) {
189189
}
190190
#endif
191191

192+
SWIFT_CC(swift)
192193
SWIFT_RUNTIME_EXPORT
193194
bool swift_COWSanityChecksEnabled() {
194195
return runtime::environment::SWIFT_DEBUG_ENABLE_COW_SANITY_CHECKS();

0 commit comments

Comments
 (0)