Skip to content

Commit

Permalink
Add support for wasm32-wasip1 and wasm32-wasip2 targets (#2054)
Browse files Browse the repository at this point in the history
  • Loading branch information
messense authored Apr 22, 2024
1 parent c7b3f7a commit 395dc17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/target.rs
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ impl Target {
OperatingSystem::Illumos => Os::Illumos,
OperatingSystem::Haiku => Os::Haiku,
OperatingSystem::Emscripten => Os::Emscripten,
OperatingSystem::Wasi => Os::Wasi,
OperatingSystem::Wasi | OperatingSystem::WasiP1 | OperatingSystem::WasiP2 => Os::Wasi,
OperatingSystem::Aix => Os::Aix,
unsupported => bail!("The operating system {:?} is not supported", unsupported),
};
Expand Down

0 comments on commit 395dc17

Please sign in to comment.