Skip to content

Request for platform support docs: how do I run wasm32-unknown-emscripten tests? #131671

Description

@jieyouxu

On a Windows msvc host,

./x test tests/ui --target=wasm32-unknown-emscripten

Just hangs for me when trying to build the rust_test_helpers.c file via the cc crate. So how can I run tests for wasm32-unknown-emscripten? This target AFAICT does not have a platform support docs I can refer to.

cfg.cargo_metadata(false)
.out_dir(&dst)
.target(&target.triple)
.host(&builder.config.build.triple)
.opt_level(0)
.warnings(false)
.debug(false)
.file(builder.src.join("tests/auxiliary/rust_test_helpers.c"))
.compile("rust_test_helpers");

I was trying to look into #131666 but I can't even run the tests.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions