You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
V8 bundles simdutf (SIMD-accelerated Unicode validation/transcoding),
but consumers like deno_core can't use a separate simdutf Rust crate
alongside rusty_v8 due to C++ symbol clashes. This exposes the bundled
simdutf API through rusty_v8 behind a `simdutf` cargo feature flag.
Changes:
- Cargo.toml: add `simdutf` feature
- BUILD.gn: conditionally link simdutf dep and define RUSTY_V8_ENABLE_SIMDUTF
- build.rs: wire cargo feature to GN arg, add to prebuilt suffix
- binding.cc: add ~250 lines of extern "C" wrappers for simdutf functions
(validation, conversion, length calculation, base64), gated by preprocessor
- simdutf.rs: safe Rust API wrapping all exposed simdutf operations
- lib.rs: register simdutf module behind cfg(feature)
---------
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
0 commit comments