mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-28 01:34:21 +00:00
aace2dfa37
Prevent using `#[target_feature]` on lang item functions Fixes https://github.com/rust-lang/rust/issues/109411 and also prevents from using `#[target_feature]` on other `fn` lang items to mitigate the concerns from https://github.com/rust-lang/rust/issues/109411#issuecomment-1477030273. |
||
---|---|---|
.. | ||
auxiliary | ||
panic-handler-bad-signature-1.rs | ||
panic-handler-bad-signature-1.stderr | ||
panic-handler-bad-signature-2.rs | ||
panic-handler-bad-signature-2.stderr | ||
panic-handler-bad-signature-3.rs | ||
panic-handler-bad-signature-3.stderr | ||
panic-handler-bad-signature-4.rs | ||
panic-handler-bad-signature-4.stderr | ||
panic-handler-bad-signature-5.rs | ||
panic-handler-bad-signature-5.stderr | ||
panic-handler-duplicate.rs | ||
panic-handler-duplicate.stderr | ||
panic-handler-missing.rs | ||
panic-handler-requires-panic-info.rs | ||
panic-handler-requires-panic-info.stderr | ||
panic-handler-std.rs | ||
panic-handler-std.stderr | ||
panic-handler-twice.rs | ||
panic-handler-with-target-feature.rs | ||
panic-handler-with-target-feature.stderr | ||
panic-handler-wrong-location.rs | ||
panic-handler-wrong-location.stderr | ||
weak-lang-item-2.rs | ||
weak-lang-item.rs | ||
weak-lang-item.stderr |