mirror of
https://github.com/ruvnet/RuVector.git
synced 2026-05-24 05:43:58 +00:00
The WASM build was panicking in Node.js because std::time::Instant is not supported on wasm32-unknown-unknown target. This fix: - Adds time_compat module with PortableInstant/PortableTimestamp - Uses monotonic counter in WASM mode (sufficient for ordering/stats) - Uses std::time::Instant on native platforms (accurate timing) - Updates algorithm, canonical, certificate, optimization, subpolynomial modules The fix uses conditional compilation via the existing `wasm` feature flag. Closes #267 Co-Authored-By: claude-flow <ruv@ruv.net> |
||
|---|---|---|
| .. | ||
| approximate.rs | ||
| mod.rs | ||
| replacement.rs | ||