Skip to content

Replace instant with web-time#389

Open
alphaville wants to merge 1 commit intomasterfrom
fix/323-instant
Open

Replace instant with web-time#389
alphaville wants to merge 1 commit intomasterfrom
fix/323-instant

Conversation

@alphaville
Copy link
Owner

@alphaville alphaville commented Mar 16, 2026

Main Changes

  • Swap the cross-platform timer dependency to web-time
  • remove instant-specific wasm feature wiring
  • update optimizer timing call sites to use web_time::Instant
  • keep existing native and wasm timing behavior without stdweb risk
  • completely remove wasm

Associated Issues

Merge dependencies

Target versions

  • OpEn version 0.11.2

Checklist

  • Documentation
  • All tests must pass
  • Update CHANGELOG(s)
  • Update webpage documentation
  • Bump versions (in CHANGELOG, Cargo.toml and VERSION)

- swap the cross-platform timer dependency to web-time
- remove instant-specific wasm feature wiring
- update optimizer timing call sites to use web_time::Instant
- keep existing native and wasm timing behavior without stdweb risk
- completely remove wasm
@alphaville alphaville marked this pull request as ready for review March 25, 2026 11:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Consider swapping to web-time from instant

1 participant