Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[wasm] Make FileManager.createFile() work on WASI #992

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Commits on Oct 19, 2024

  1. [wasm] Make FileManager.createFile() work on WASI

    fixes swiftwasm/swift#5593
    
    `FileManager.createFile()` currently doesn't work on WASI because it
    requires `.atomic`, it requires creating a temporary file, and it isn't
    suppported on WASI.
    
    So I have fixed that by removing the `.atomic` requirement only on WASI.
    kkebo committed Oct 19, 2024
    Configuration menu
    Copy the full SHA
    22500b8 View commit details
    Browse the repository at this point in the history

Commits on Oct 24, 2024

  1. [wasm] Make Data.WritingOptions.atomic unavailable on WASI

    `writeToFileAux`, `createTemporaryFile`, and `createProtectedTemporaryFile` also become unavailable on WASI.
    kkebo committed Oct 24, 2024
    Configuration menu
    Copy the full SHA
    77feb1c View commit details
    Browse the repository at this point in the history