You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After upgrading to LLVM 9.0.1, it appears my registrations with the inventory crate, using ctor, have dissapeared. Reverting back to LLVM 8.0 resolves the issue.
Specifically, it appears if code in the module is not used, ctor does not run. This wasn't previously the case, so appears to be a new optimization cutting out the registrations from unused modules.
The text was updated successfully, but these errors were encountered:
This seems possibly related to dtolnay/inventory#11.
After upgrading to LLVM 9.0.1, it appears my registrations with the
inventory
crate, usingctor
, have dissapeared. Reverting back to LLVM 8.0 resolves the issue.Specifically, it appears if code in the module is not used, ctor does not run. This wasn't previously the case, so appears to be a new optimization cutting out the registrations from unused modules.
The text was updated successfully, but these errors were encountered: