rust-aliasable
rust-aliasable copied to clipboard
Add some examples of optimizations that are disabled by using AliasableBox vs Box
This would be helpful for making decisions around when to use AliasableBox vs trying harder to not alias a Box.
https://rust.godbolt.org/z/dKTf8jeMP is an example. Though, -C panic=abort is required for reasons I don't understand.
I filed https://github.com/rust-lang/rust/issues/95323 about needing -C panic=abort