Added the bumpalo::boxed::Box::bump and bumpalo::collections::String::bump
getters to get the underlying Bump that a string or box was allocated into.
Changed
Some uses of Box that MIRI did not previously consider as UB are now
reported as UB, and bumpalo's internals have been adjusted to avoid the new
UB.
3.11.1
Released 2022-10-18.
Security
Fixed a bug where when std::vec::IntoIter was ported to
bumpalo::collections::vec::IntoIter, it didn't get its underlying Bump's
lifetime threaded through. This meant that rustc was not checking the
borrows for bumpalo::collections::IntoIter and this could result in
use-after-free bugs.
3.11.0
Released 2022-08-17.
Added
Added support for per-Bump allocation limits. These are enforced only in the
slow path when allocating new chunks in the Bump, not in the bump allocation
hot path, and therefore impose near zero overhead.
Added the bumpalo::boxed::Box::into_inner method.
Changed
Updated to Rust 2021 edition.
The minimum supported Rust version (MSRV) is now 1.56.0.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/Lea-fish/Leafish/network/alerts).
Bumps bumpalo from 3.7.1 to 3.12.0.
Changelog
Sourced from bumpalo's changelog.
... (truncated)
Commits
50ba1bd
Bump to 3.12.03dd3650
Merge pull request #190 from mattfbacon/main37be9a9
Merge branch 'fitzgen:main' into main3664dbb
Add String::bump method701514f
Merge pull request #189 from mattfbacon/mainc6507f7
Add Vec::bump methodb1e67b7
Merge pull request #188 from saethlin/field-retaggingd325e2c
Use ManuallyDrop with bumpalo's Box instead of mem::forgetc699cd1
Merge pull request #183 from stepancheg/allocated-bytes-no-headers5805a29
Clarify allocated_bytes does not include headersDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/Lea-fish/Leafish/network/alerts).