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(
638
638
if (triple.isOSBinFormatMachO ()) {
639
639
invocationArgStrs.insert (invocationArgStrs.end (), {" -D__MACH__" });
640
640
}
641
- if (triple.isOSBinFormatWasm ()) {
642
- invocationArgStrs.insert (invocationArgStrs.end (), {" -D__wasi__" });
643
- }
644
641
645
642
if (triple.isOSWindows ()) {
646
643
switch (triple.getArch ()) {
Original file line number Diff line number Diff line change 134
134
// right for Windows, we have everything set up to get it right on
135
135
// other targets as well, and doing so lets the compiler use more
136
136
// efficient symbol access patterns.
137
- #if defined(__MACH__) || defined(__wasi__ )
137
+ #if defined(__MACH__) || defined(__wasm__ )
138
138
139
139
// On Mach-O and WebAssembly, we use non-hidden visibility. We just use
140
140
// default visibility on both imports and exports, both because these
You can’t perform that action at this time.
0 commit comments