]> git.lizzy.rs Git - rust.git/commit
Auto merge of #13866 - Nilstrieb:rustc_safe_intrinsic, r=Veykril
authorbors <bors@rust-lang.org>
Fri, 30 Dec 2022 22:14:31 +0000 (22:14 +0000)
committerbors <bors@rust-lang.org>
Fri, 30 Dec 2022 22:14:31 +0000 (22:14 +0000)
commit0d76b94c90a20c20d3e57ea1ab03d9afa00dee72
treedca685def10263280b33be3a1a5ee513f1438f78
parent09bc37c849d40bfe27be3558fbef8f18bef42f84
parent72afcf2cadbd1434150049e4102ccc89251772a0
Auto merge of #13866 - Nilstrieb:rustc_safe_intrinsic, r=Veykril

Use `rustc_safe_intrinsic` attribute to check for intrinsic safety

Instead of maintaining a list that is poorly kept in sync we can just use the attribute.

This will make new RA versions unusable with old toolchains that don't have the attribute yet. Should we keep maintaining the list as a fallback or just don't care?