avitex/rust-aliasable

Add some examples of optimizations that are disabled by using AliasableBox vs Box

Opened this issue · 2 comments

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 rust-lang/rust#95323 about needing -C panic=abort