Skip to content

Commit ff1d42f

Browse files
docs(allocator): update comments about bumpalo version (#12033)
We've bumped `bumpalo` to v3.19.0. Update comments to reflect this.
1 parent 0c7f9e8 commit ff1d42f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ allocator-api2 = "=0.2.21"
166166
base64 = "0.22.1"
167167
bitflags = "2.9.1"
168168
bpaf = "0.9.20"
169-
# `bumpalo` must be pinned to exactly this version.
169+
# `bumpalo` must be pinned to exactly version 3.19.0.
170170
# `Allocator::from_raw_parts` (used in raw transfer) depends on internal implementation details
171171
# of `bumpalo` which may change in a future version.
172172
# This is a temporary situation - we'll replace `bumpalo` with our own allocator.

crates/oxc_allocator/src/from_raw_parts.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ impl Allocator {
3333
/// This code only remains sound as long as the code in version of `bumpalo` we're using matches
3434
/// the duplicate of `bumpalo`'s internals contained in this file.
3535
///
36-
/// `bumpalo` is pinned to version `=3.17.0` in `Cargo.toml`.
36+
/// `bumpalo` is pinned to version `=3.19.0` in `Cargo.toml`.
3737
///
3838
/// The [`Allocator`] which is returned takes ownership of the memory allocation,
3939
/// and the allocation will be freed if the `Allocator` is dropped.

0 commit comments

Comments
 (0)