oxc/crates/oxc_allocator
overlookmotel 75b775c055 feat(allocator): Vec<u8>::into_string (#8017)
Bumpalo has a method `String::from_utf8_unchecked` to covert a `Vec<u8>` to a `String`. But we can't use it because we use Bumpalo's `String` as our arena string type, but allocator_api2's `Vec` as our arena vec.

Provide the same functionality, that works around this incompatibility. Also use the faster `simdutf8` for checking that `Vec` contains a valid UTF-8 string.
2024-12-19 17:46:30 +00:00
..
src feat(allocator): Vec<u8>::into_string (#8017) 2024-12-19 17:46:30 +00:00
Cargo.toml feat(allocator): Vec<u8>::into_string (#8017) 2024-12-19 17:46:30 +00:00
CHANGELOG.md release(crates): v0.39.0 (#7643) 2024-12-04 19:43:22 +08:00