Jorge Aparicio 959fc9b683 CAS Pool: make dangling Ptr well aligned
the old logic didn't consider the pointee's alignment when creating a dangling pointer

dangling pointers are used in pools of ZST (Zero Sized Types). the old logic resulted in these Boxed
ZST not being well aligned. the test added in this PR was failing
2021-08-26 13:14:34 +02:00
2021-04-27 19:03:12 +02:00
2021-04-22 20:00:30 +02:00
2021-08-25 15:37:27 +02:00
2021-08-16 14:16:52 +02:00
2017-03-05 00:30:10 -05:00
2017-03-05 00:30:10 -05:00
2021-03-25 16:30:45 +01:00

crates.io crates.io

heapless

static friendly data structures that don't require dynamic memory allocation

Documentation

Change log

Tests

# run all
cargo test --features 'serde','x86-sync-pool'
# run only for example histbuf tests
cargo test histbuf --features 'serde','x86-sync-pool'

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Description
Heapless, static friendly data structures
Readme 18 MiB
Languages
Rust 100%