I noticed when switching to the cranelift backend that my typetag types stopped working:
dtolnay/typetag#35
I'm not sure what exactly is to blame, but figured it warranted reporting as a compat issue. Through some subsequent debugging, I've identified noticed an issue specific to Cranelift on MacOS where the rust-ctor crate to fails to trigger #[ctor]-annotated code on module initialization: mmastrac/rust-ctor#339
Other thoughts:
I noticed when switching to the cranelift backend that my
typetagtypes stopped working:dtolnay/typetag#35
I'm not sure what exactly is to blame, but figured it warranted reporting as a compat issue. Through some subsequent debugging, I've identified noticed an issue specific to Cranelift on MacOS where the
rust-ctorcrate to fails to trigger#[ctor]-annotated code on module initialization: mmastrac/rust-ctor#339Other thoughts:
inventorycrate uses a technique similar to ctor so I bet Inventory crate does not work with cranelift #1577 is also bit by the same root cause affecting this issue.