Skip to content

utime() does not accept a file descriptor under preview 2 (as found by Python) #7829

@brettcannon

Description

@brettcannon

Test Case

TODO: upload Wasm file here

Steps to Reproduce

Expected Results

Test should pass (it does under preview 1).

Actual Results

Raises errno 63: ENOSR (out of stream resources).

Versions and Environment

Wasmtime version or commit: 17.0.0

Operating system: Linux/WSL

Architecture: x64

Extra Info

Anything else you'd like to add?

Success logs under preview 1:
success-utime-fd.txt

Failure logs under preview 2:
failure-utime-fd.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIncorrect behavior in the current implementation that needs fixing

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions