Commit Graph

1 Commits

Author SHA1 Message Date
Alexander Meißner 58a9bf74e1
Moves AlignedMemory from solana_rbpf into a new crate: memory-managment. (#28079)
* Moves AlignedMemory from solana_rbpf into a new crate: memory-managment.

* Makes cargo clippy happy.

* deny clippy::integer_arithmetic

* Makes write_unchecked() take a generic parameter.

* Restricts AlignedMemory::write_unchecked() to Pod types.

* Adds DynamicLayoutArray.

* Moves is_memory_aligned() into crate root.
2022-10-05 08:39:55 +02:00