Skip to content

Reproducible .wasm file builds #4772

Closed
Closed
@kennu

Description

@kennu

While I was building .wasm files with various languages (AssemblyScript, C, C++, C#, Go, Grain, Haskell, Motoko, Rust, Zig), I noticed that Swift is the only one that generates a different .wasm file after every build.

In practice, if you store .wasm files in Git or otherwise rely on change detection, you get a new version after every build, even if the source code didn't change.

This is not a big problem for me, but I thought I'd mention it, since it appears to be unique to Swift. Please feel free to close the issue if it's out of scope of the project.

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