Skip to content

Commit c6c87be

Browse files
authored
Use new WebAssembly toolchain for WASI triple in Driver.cpp
1 parent d268f8d commit c6c87be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Driver/Driver.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ Driver::buildToolChain(const llvm::opt::InputArgList &ArgList) {
345345
case llvm::Triple::Haiku:
346346
return std::make_unique<toolchains::GenericUnix>(*this, target);
347347
case llvm::Triple::WASI:
348-
return std::make_unique<toolchains::GenericUnix>(*this, target);
348+
return std::make_unique<toolchains::WebAssembly>(*this, target);
349349
default:
350350
Diags.diagnose(SourceLoc(), diag::error_unknown_target,
351351
ArgList.getLastArg(options::OPT_target)->getValue());

0 commit comments

Comments
 (0)