Add a lint for static items with large type alignment
The goal of this PR is to warn the usage of static items which have type alignment larger than page size (typically 4KB).
Due to some known unsound issues, the type alignment may not be fulfilled. For more information, see rust-lang/rust#70022 and rust-lang/rust#70143.
changelog: add lint [static_items_large_align]
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @flip1995 (or someone else) soon.
Please see the contribution instructions for more information.
:umbrella: The latest upstream changes (presumably #8576) made this pull request unmergeable. Please resolve the merge conflicts.
All my comments are for follow up improvements. IMO we can merge this as is
:umbrella: The latest upstream changes (presumably #8594) made this pull request unmergeable. Please resolve the merge conflicts.
Ping @Jaic1. Are you willing to continue working on this? It doesn't seem like there are any major blockers for merging.
@Jarcho Sure, I can resolve the conflicts at the moment. For the potential improvements mentioned above, maybe I can pick it up some day.
Please rebase instead of merge. When you rebase, the merge commit gets removed automatically without you needing to do anything
:umbrella: The latest upstream changes (presumably #9511) made this pull request unmergeable. Please resolve the merge conflicts.
@Jaic1 I'm closing this for inactivity. It seems like you're not active in the OSS ecosystem anymore, so, have luck in whatever else you're doing! :heart:.
If you'd like to continue with this PR, don't hesitate to comment and I'll reopen it! Thanks for trying ~(=^‥^)/.
Edit: Similar to rust-lang/rust#116520