Emscripten target specs are conditional on the host platform #38724
Labels
C-bug
Category: This is a bug.
O-asmjs
Target: asm.js - http://asmjs.org/
O-emscripten
Target: 50% off wasm32-unknown-musl. the savings come out of stdio.h, but hey, you get SDL!
O-wasm
Target: WASM (WebAssembly), http://webassembly.org/
In this PR, to make emscripten work on windows, the target specs are conditionalized to use
emcc.bat
as the linker, only on windows hosts.In practice this should be perfectly fine, but I don't think it's correct for the target spec to vary like that and there should be some way to express the spec statically that works on both platforms.`
cc @schulzch
The text was updated successfully, but these errors were encountered: