Skip to content

Failing upstream wasi-sdk tests #631

@alexcrichton

Description

@alexcrichton

Rebasing WebAssembly/wasi-sdk#564 to account for #626 looks like there are two more failing tests:

mmap.c:

$ AR=llvm-ar-19 make -j40 WASI_SNAPSHOT=p2
$ $WASI_SDK_PATH/bin/clang ../wasi-sdk/tests/general/mmap.c --target=wasm32-wasip2 --sysroot=./sysroot -lwasi-emulated-mman -D_WASI_EMULATED_MMAN -o mmap.wasm
$ wasmtime --dir ../wasi-sdk/tests/general/mmap.c.dir::foo mmap.wasm foo
open: No such file or directory

opendir.c:

$ AR=llvm-ar-19 make -j40 WASI_SNAPSHOT=p2
$ $WASI_SDK_PATH/bin/clang ../wasi-sdk/tests/general/opendir.c --target=wasm32-wasip2 --sysroot=./sysroot  -o opendir.wasm
$ wasmtime --dir ../wasi-sdk/tests/general/opendir.c.dir::foo opendir.wasm foo
opendir: No such file or directory

both tests pass if WASI_SNAPSHOT=p2 is omitted, however, and --target=wasm32-wasi is passed instead.

cc @catamorphism

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