Skip to content

Conversation

@JamieCunliffe
Copy link
Contributor

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.

The inline(always) attribute is now applied to the call site when a
function has target features enabled so that it can determine that the
call is safe to inline.
@rustbot
Copy link
Collaborator

rustbot commented Dec 10, 2025

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants