Skip to content

v2.9.0: Reduce the WASM payload and document rejected flags #154

Closed

Description

@analeis

Measured, correctness-first size work rather than general advice.

Delivered

  • Dropped thread_rng from shipped builds; seed StdRng from SysRng with thread_rng kept only as a test dependency on both targets.
  • wasm-only opt-level = 3 in build:wasm (measured smaller than "s", unlike "z").
  • --remap-path-prefix in CI/release builds; prebuilt wasm-pack in the release workflow; removed the broken empty license key.
  • Cargo.toml documents measured-rejected options (z, panic=abort, extra strip passes, target-cpu=mvp).
  • Result: 82,465 → 76,745 B raw, 37,524 → 35,145 B gzip.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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