mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[Swift+WASM] Allow Wasm object format.
- This currently does nothing more than adopt the ELF conventions, but for the Wasm object file format.
This commit is contained in:
@@ -1033,6 +1033,7 @@ void IRGenModule::emitAutolinkInfo() {
|
||||
|
||||
} else {
|
||||
assert((TargetInfo.OutputObjectFormat == llvm::Triple::ELF ||
|
||||
TargetInfo.OutputObjectFormat == llvm::Triple::Wasm ||
|
||||
Triple.isOSCygMing()) &&
|
||||
"expected ELF output format or COFF format for Cygwin/MinGW");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user