Skip to content

Emscripten target specs are conditional on the host platform #38724

Closed
@brson

Description

@brson

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: This is a bug.O-asmjsTarget: asm.js - http://asmjs.org/O-emscriptenTarget: 50% off wasm32-unknown-musl. the savings come out of stdio.h, but hey, you get SDL!O-wasmTarget: WASM (WebAssembly), http://webassembly.org/

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions