Skip to content

Commit 5c1a02a

Browse files
Merge pull request swiftlang#79349 from kateinoigakukun/pr-b59229c8b7f3a006cea85209a02c5246f2e75701
[wasm] Use `__visibility__("default")` for all wasm platforms
2 parents de80540 + 35c3d7f commit 5c1a02a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/public/SwiftShims/swift/shims/Visibility.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@
134134
// right for Windows, we have everything set up to get it right on
135135
// other targets as well, and doing so lets the compiler use more
136136
// efficient symbol access patterns.
137-
#if defined(__MACH__) || defined(__wasi__)
137+
#if defined(__MACH__) || defined(__wasm__)
138138

139139
// On Mach-O and WebAssembly, we use non-hidden visibility. We just use
140140
// default visibility on both imports and exports, both because these

0 commit comments

Comments
 (0)