Skip to content

Building on WASM #6

@chyyran

Description

@chyyran

glslang needs a sysroot that isn't available for wasm32-unknown-unknown

wasm32-wasip1 works though:

$ RUSTFLAGS="--cfg=web_sys_unstable_apis --Z wasm_c_abi=spec" WASI_SYSROOT="/usr/share/wasi-sysroot/" cargo build --target=wasm32-wasip1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions