-
Notifications
You must be signed in to change notification settings - Fork 12.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Prevent using #[target_feature]
on lang item functions
#115910
Conversation
r? @wesleywiser (rustbot has picked a reviewer for you, use r? to override) |
This check should probably happen in |
I'm not so sure. Moving the check to In general, I've seen that |
What about just check for a |
I'll try that with |
Thanks! |
☀️ Test successful - checks-actions |
Finished benchmarking commit (aace2df): comparison URL. Overall result: ❌ regressions - no action needed@rustbot label: -perf-regression Instruction countThis is a highly reliable metric that was used to determine the overall result at the top of this comment.
Max RSS (memory usage)ResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
CyclesThis benchmark run did not return any relevant results for this metric. Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 631.519s -> 632.249s (0.12%) |
Fixes #109411 and also prevents from using
#[target_feature]
on otherfn
lang items to mitigate the concerns from #109411 (comment).