-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
panic: Use local functions in panic!
whenever possible
#128068
Closed
goldsteinn
wants to merge
12
commits into
rust-lang:master
from
goldsteinn:goldsteinn/panic-func-wrappers
Closed
panic: Use local functions in panic!
whenever possible
#128068
goldsteinn
wants to merge
12
commits into
rust-lang:master
from
goldsteinn:goldsteinn/panic-func-wrappers
Commits on Jul 22, 2024
-
panic: Use local functions in
panic!
whenever possibleThis is basically extending the idea implemented in `panic_2021!`. By creating a cold/noinline function that wraps the setup for the call to the internal panic function moves more of the code-size cost of `panic!` to the cold path. For example: https://godbolt.org/z/T1ndrcq4d
Configuration menu - View commit details
-
Copy full SHA for ca16524 - Browse repository at this point
Copy the full SHA ca16524View commit details
Commits on Jul 23, 2024
-
Configuration menu - View commit details
-
Copy full SHA for cc107fc - Browse repository at this point
Copy the full SHA cc107fcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 11caff4 - Browse repository at this point
Copy the full SHA 11caff4View commit details -
Configuration menu - View commit details
-
Copy full SHA for f2f77f2 - Browse repository at this point
Copy the full SHA f2f77f2View commit details -
Configuration menu - View commit details
-
Copy full SHA for a59b918 - Browse repository at this point
Copy the full SHA a59b918View commit details -
Configuration menu - View commit details
-
Copy full SHA for af6260f - Browse repository at this point
Copy the full SHA af6260fView commit details
Commits on Jul 24, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 6a4f226 - Browse repository at this point
Copy the full SHA 6a4f226View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6cbc3eb - Browse repository at this point
Copy the full SHA 6cbc3ebView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7219ce0 - Browse repository at this point
Copy the full SHA 7219ce0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 555a033 - Browse repository at this point
Copy the full SHA 555a033View commit details -
Configuration menu - View commit details
-
Copy full SHA for 12e23c4 - Browse repository at this point
Copy the full SHA 12e23c4View commit details
Commits on Jul 25, 2024
-
Configuration menu - View commit details
-
Copy full SHA for b8d3c62 - Browse repository at this point
Copy the full SHA b8d3c62View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.