Skip to content

Commit

Permalink
release: version 0.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bluurryy committed Sep 3, 2024
1 parent 4ed284f commit af17b36
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 12 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Changelog

## Unreleased
## 0.8.0 (2024-09-03)
- **fixed:** panic message on formatting failure to mention that, instead of a wrong "capacity overflow"
- **fixed:** `(try_)alloc_try_with` UB when allocating inside the provided closure, memory leak when using an *unallocated* bump allocator
- **breaking:** `(try_)alloc_try_with` now requires a guaranteed allocated `Bump(Scope)`
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "bump-scope"
version = "0.7.0"
version = "0.8.0"
edition = "2021"
license = "MIT OR Apache-2.0"
description = "A fast bump allocator that supports allocation scopes / checkpoints. Aka an arena for values of arbitrary types."
Expand Down
2 changes: 1 addition & 1 deletion crates/fuzzing-support/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 2 additions & 5 deletions crates/fuzzing-support/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -259,11 +259,8 @@ impl<'a> Arbitrary<'a> for FuzzBumpGreedyProps {
let size: usize = u.arbitrary()?;
let align_pow2 = u.int_in_range(0..=10)?;
let align = 1 << align_pow2;
Layout::from_size_align(
size.checked_mul(align).ok_or(arbitrary::Error::IncorrectFormat)?,
align,
)
.map_err(|_| arbitrary::Error::IncorrectFormat)?
Layout::from_size_align(size.checked_mul(align).ok_or(arbitrary::Error::IncorrectFormat)?, align)
.map_err(|_| arbitrary::Error::IncorrectFormat)?
};

let min_align = *u.choose(&[1, 2, 4, 8, 16])?;
Expand Down
2 changes: 1 addition & 1 deletion crates/inspect-asm/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion crates/test-fallibility/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion fuzz/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit af17b36

Please sign in to comment.