Skip to content

Miri does not support file system access #923

Closed
@RalfJung

Description

@RalfJung

This issue tracks Miri not supporting all sorts of file system access APIs, from working directories to directory listing to actual read/writes. Such access should be possible when -Zmiri-disable-isolation is set. But it will be quite some work to implement dozens of shims for our 3 supported platforms.

If you are running into this, I suggest trying to carve out a part of your library does can run on "pure data", without accessing the file system. That part you should then be able to test in Miri.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-shimsArea: This affects the external function shimsC-enhancementCategory: a PR with an enhancement or an issue tracking an accepted enhancement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions