about summary refs log tree commit diff
path: root/tests/ui/layout/post-mono-layout-cycle.rs
AgeCommit message (Collapse)AuthorLines
2025-04-08UI tests: add missing diagnostic kinds where possibleVadim Petrochenkov-1/+1
2024-11-01Emit warning when calling/declaring functions with unavailable vectors.Luca Versari-1/+0
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-0/+1
This reverts commit 5af56cac38fa48e4228e5e123d060e85eb1acbf7.
2024-10-25Emit error when calling/declaring functions with unavailable vectors.Luca Versari-1/+0
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-10-08Dont ICE when encountering post-mono layout cycle errorMichael Goulet-0/+25