rust-aliasable icon indicating copy to clipboard operation
rust-aliasable copied to clipboard

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

Open jrmuizel opened this issue 4 years ago • 2 comments

This would be helpful for making decisions around when to use AliasableBox vs trying harder to not alias a Box.

jrmuizel avatar Mar 25 '22 17:03 jrmuizel

https://rust.godbolt.org/z/dKTf8jeMP is an example. Though, -C panic=abort is required for reasons I don't understand.

jrmuizel avatar Mar 26 '22 01:03 jrmuizel

I filed https://github.com/rust-lang/rust/issues/95323 about needing -C panic=abort

jrmuizel avatar Mar 28 '22 14:03 jrmuizel