Skip to content

Expand serai-runtime build.rs into a general-purpose reproducible build tool #762

@kayabaNerve

Description

@kayabaNerve

serai-runtime has a build.rs which achieves host-independent reproducible builds of serai-runtime's WASM blob. It does so via injecting itself as the RUSTC_WRAPPER, and due to my care with it, even supports interoperability with clippy.

While it was written for our WASM blob, and has some design decisions due to being for our WASM blob, that doesn't change most of its skeleton could actually be used by any Rust project, for any purpose. It would just require extraction and polishing to that end. It would be good to do this as a community service, and to allow collaboration on expanding and ensuring its functionality.

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions