File tree Expand file tree Collapse file tree 2 files changed +1
-4
lines changed
stdlib/public/SwiftShims/swift/shims Expand file tree Collapse file tree 2 files changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -638,9 +638,6 @@ importer::getNormalInvocationArguments(
638638 if (triple.isOSBinFormatMachO ()) {
639639 invocationArgStrs.insert (invocationArgStrs.end (), {" -D__MACH__" });
640640 }
641- if (triple.isOSBinFormatWasm ()) {
642- invocationArgStrs.insert (invocationArgStrs.end (), {" -D__wasi__" });
643- }
644641
645642 if (triple.isOSWindows ()) {
646643 switch (triple.getArch ()) {
Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments