about summary refs log tree commit diff
path: root/compiler/rustc_monomorphize/src/collector
AgeCommit message (Collapse)AuthorLines
2025-08-14Complete functionality and general cleanupMarcelo Domínguez-0/+48
2024-11-10move all mono-time checks into their own folder, and their own queryRalf Jung-317/+0
2024-11-01Emit warning when calling/declaring functions with unavailable vectors.Luca Versari-0/+162
On some architectures, vector types may have a different ABI depending on whether the relevant target features are enabled. (The ABI when the feature is disabled is often not specified, but LLVM implements some de-facto ABI.) As discussed in rust-lang/lang-team#235, this turns out to very easily lead to unsound code. This commit makes it a post-monomorphization future-incompat warning to declare or call functions using those vector types in a context in which the corresponding target features are disabled, if using an ABI for which the difference is relevant. This ensures that these functions are always called with a consistent ABI. See the [nomination comment](https://github.com/rust-lang/rust/pull/127731#issuecomment-2288558187) for more discussion. Part of #116558
2024-10-25Revert "Emit error when calling/declaring functions with unavailable vectors."Rémy Rakic-111/+0
This reverts commit 5af56cac38fa48e4228e5e123d060e85eb1acbf7.
2024-10-25Emit error when calling/declaring functions with unavailable vectors.Luca Versari-0/+111
On some architectures, vector types may have a different ABI when relevant target features are enabled. As discussed in https://github.com/rust-lang/lang-team/issues/235, this turns out to very easily lead to unsound code. This commit makes it an error to declare or call functions using those vector types in a context in which the corresponding target features are disabled, if using an ABI for which the difference is relevant.
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-5/+4
2024-05-23Remove `#[macro_use] extern crate tracing` from `rustc_monomorphize`.Nicholas Nethercote-0/+1
2024-04-14move the LargeAssignments lint logic into its own fileRalf Jung-0/+155