Open nebulark opened 1 week ago
r? @estebank
rustbot has assigned @estebank. 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
I am very unsure about the error handling in codegen_attrs.rs
Creating a new error type seemed a bit too much for those errors. Should I rephrase the errors? Should I add tests for those?
The job mingw-check
failed! Check out the build log: (web) (plain)
The job mingw-check
failed! Check out the build log: (web) (plain)
The job x86_64-gnu-llvm-17
failed! Check out the build log: (web) (plain)
The job x86_64-gnu-llvm-17
failed! Check out the build log: (web) (plain)
The job x86_64-gnu-llvm-17
failed! Check out the build log: (web) (plain)
The job x86_64-gnu-llvm-17
failed! Check out the build log: (web) (plain)
The job x86_64-gnu-llvm-17
failed! Check out the build log: (web) (plain)
The job mingw-check-tidy
failed! Check out the build log: (web) (plain)
As author of the RFC and the two commits cherry-picked over, this LGTM (there's a bit of grunge in the git history with an unresolved conflict in the rebase, but it gets cleaned up by the last commit).
Tracking issue: #123115
Add the -Z patchable-function-entry compiler flag and the #[patchable_function_entry(prefix_nops = m, entry_nops = n)] attribute. Rebased and adjusted the canditate implementation to match changes in the RFC.