stdarch icon indicating copy to clipboard operation
stdarch copied to clipboard

Mark the neon intrinsics as inline(always).

Open JamieCunliffe opened this issue 3 months ago • 2 comments

Mark the neon intrinics as inline(always) now that we can apply the attribute at the call site and perform the checks to ensure that inlining would be correct. See tracking issue rust-lang/rust#145574 for more info.

This will trigger some warnings on code that is using intrinsics without having enabled the correct target feature in the function they are being called from.

JamieCunliffe avatar Dec 10 '25 11:12 JamieCunliffe

r? @sayantn

rustbot has assigned @sayantn. They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

rustbot avatar Dec 10 '25 11:12 rustbot

CI seems to be failing for some reason, I don't see why rustc is complaining that the lint doesn't exist - that pr was merged 3 months ago! 😕

edit: it might be because the rustc PR didn't add the lint to the HardwiredLints section in declare_lint_pass!

edit: just noticed that the PR was merged 3 days ago, retrying CI

edit: seems like we found an ICE

sayantn avatar Dec 14 '25 18:12 sayantn