Skip to content

Commit

Permalink
Switch to using the wasi-sdk clang to build cabi_realloc files
Browse files Browse the repository at this point in the history
Signed-off-by: James Sturtevant <[email protected]>
  • Loading branch information
jsturtevant committed Jun 6, 2024
1 parent bda53bd commit 00ee6ea
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/WitBindgen/build/WitBindgen.targets
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,10 @@
-->
<Target Name="PrepareWasmSdks" BeforeTargets="CheckWasmSdks" DependsOnTargets="ObtainWasiSdk; ObtainEmscripten">
<PropertyGroup>
<ClangExeName>clang</ClangExeName>
<ClangExeName Condition="$([MSBuild]::IsOSPlatform('Windows'))">$(ClangExeName).exe</ClangExeName>
<EmSdk>$(EmscriptenRoot)</EmSdk>
<Wasicompiler>$(EmscriptenRoot)\upstream\emscripten\emcc.bat</Wasicompiler>
<Wasicompiler>$(WasiSdkRoot)\bin\$(ClangExeName)</Wasicompiler>
<WASI_SDK_PATH>$(WasiSdkRoot)</WASI_SDK_PATH>
</PropertyGroup>
</Target>
Expand Down

0 comments on commit 00ee6ea

Please sign in to comment.