Skip to content

std::fs::copy is unsupported #4183

Open
@anatawa12

Description

@anatawa12

When we call std::fs::copy on macos, we encountered unsupported operation: can't call foreign function `fclonefileat` on OS `macos` error.

I think std::fs::copy is a basic API commonly used so I reported here as miri error message suggests.

I searched for fclonefileat but I could not found existing issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-filesArea: related to files, paths, sockets, file descriptors, or handlesA-linuxArea: affects only Linux targetsA-macArea: Affects only macOS targetsA-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