1
Fork 0

add repr to the allowlist for naked functions, and test that it works

This commit is contained in:
jdonszelmann 2024-08-22 19:48:39 +02:00
parent 739b1fdb15
commit c3000ad3ba
No known key found for this signature in database
GPG key ID: E0C1EA36407B2FF2
2 changed files with 21 additions and 0 deletions

View file

@ -516,6 +516,7 @@ impl<'tcx> CheckAttrVisitor<'tcx> {
sym::no_mangle,
sym::naked,
sym::instruction_set,
sym::repr,
// code generation
sym::cold,
sym::target_feature,