-
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
Rollup of 6 pull requests #127982
Rollup of 6 pull requests #127982
Commits on Jul 16, 2024
-
add rust error message for CMSE stack spill
when the `C-cmse-nonsecure-call` ABI is used, arguments and return values must be passed via registers. Failing to do so (i.e. spilling to the stack) causes an LLVM error down the line, but now rustc will properly emit an error a bit earlier in the chain
Configuration menu - View commit details
-
Copy full SHA for 50ba821 - Browse repository at this point
Copy the full SHA 50ba821View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1e86064 - Browse repository at this point
Copy the full SHA 1e86064View commit details -
make function pub in error_codes markdown file
the error is only generated for functions that are actually codegen'd
Configuration menu - View commit details
-
Copy full SHA for 36d2371 - Browse repository at this point
Copy the full SHA 36d2371View commit details -
move cmse ABI validation into its own module
Co-authored-by: Tamme Dittrich <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c7ff46c - Browse repository at this point
Copy the full SHA c7ff46cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1a79606 - Browse repository at this point
Copy the full SHA 1a79606View commit details -
Configuration menu - View commit details
-
Copy full SHA for 09b620d - Browse repository at this point
Copy the full SHA 09b620dView commit details
Commits on Jul 17, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 5f0f690 - Browse repository at this point
Copy the full SHA 5f0f690View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8a3dd7f - Browse repository at this point
Copy the full SHA 8a3dd7fView commit details -
CFI: Support provided methods on traits
Provided methods currently don't get type erasure performed on them because they are not in an `impl` block. If we are instantiating a method that is an associated item, but *not* in an impl block, treat it as a provided method instead.
Configuration menu - View commit details
-
Copy full SHA for 2abdc4e - Browse repository at this point
Copy the full SHA 2abdc4eView commit details
Commits on Jul 18, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 7b63734 - Browse repository at this point
Copy the full SHA 7b63734View commit details -
remove cmse validation from rustc_codegen_ssa
it was moved to hir_analysis in the previous commit
Configuration menu - View commit details
-
Copy full SHA for 6b6b842 - Browse repository at this point
Copy the full SHA 6b6b842View commit details -
Configuration menu - View commit details
-
Copy full SHA for c2894a4 - Browse repository at this point
Copy the full SHA c2894a4View commit details
Commits on Jul 19, 2024
-
Configuration menu - View commit details
-
Copy full SHA for af7ecb6 - Browse repository at this point
Copy the full SHA af7ecb6View commit details -
Configuration menu - View commit details
-
Copy full SHA for a0db06b - Browse repository at this point
Copy the full SHA a0db06bView commit details -
Avoid ref when using format! for perf
Clean up a few minor refs in `format!` macro, as it has a tiny perf cost. A few more minor related cleanups.
Configuration menu - View commit details
-
Copy full SHA for 91275b2 - Browse repository at this point
Copy the full SHA 91275b2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 756459e - Browse repository at this point
Copy the full SHA 756459eView commit details -
Rollup merge of rust-lang#127295 - maurer:default-impl-cfi, r=estebank
CFI: Support provided methods on traits Provided methods currently don't get type erasure performed on them because they are not in an `impl` block. If we are instantiating a method that is an associated item, but *not* in an impl block, treat it as a provided method instead.
Configuration menu - View commit details
-
Copy full SHA for 6ae6f8b - Browse repository at this point
Copy the full SHA 6ae6f8bView commit details -
Rollup merge of rust-lang#127814 - folkertdev:c-cmse-nonsecure-call-e…
…rror-messages, r=oli-obk `C-cmse-nonsecure-call`: improved error messages tracking issue: rust-lang#81391 issue for the error messages (partially implemented by this PR): rust-lang#81347 related, in that it also deals with CMSE: rust-lang#127766 When using the `C-cmse-nonsecure-call` ABI, both the arguments and return value must be passed via registers. Previously, when violating this constraint, an ugly LLVM error would be shown. Now, the rust compiler itself will print a pretty message and link to more information.
Configuration menu - View commit details
-
Copy full SHA for 3b20150 - Browse repository at this point
Copy the full SHA 3b20150View commit details -
Rollup merge of rust-lang#127949 - princess-entrapta:master, r=tgross35
fix: explain E0120 better cover cases when its raised Fixes rust-lang#98996 Wording change on the explain of E0120 as requested
Configuration menu - View commit details
-
Copy full SHA for 41d3cb6 - Browse repository at this point
Copy the full SHA 41d3cb6View commit details -
Rollup merge of rust-lang#127966 - oli-obk:structured_diag, r=compile…
…r-errors Use structured suggestions for unconstrained generic parameters on impl blocks I did not deduplicate with `UnusedGenericParameter`, because in contrast to type declarations, just using a generic parameter in an impl isn't enough, it must be used with the right variance and not just as part of a projection.
Configuration menu - View commit details
-
Copy full SHA for a2c99cf - Browse repository at this point
Copy the full SHA a2c99cfView commit details -
Rollup merge of rust-lang#127976 - fmease:lta-cyclic-bivariant-param-…
…better-err, r=compiler-errors Lazy type aliases: Diagostics: Detect bivariant ty params that are only used recursively Follow-up to errs's rust-lang#127871. Extends the logic to cover LTAs, too, not just ADTs. This change only takes effect with the next-gen solver enabled as cycle errors like the one we have here are fatal in the old solver. That's my explanation anyways. r? compiler-errors
Configuration menu - View commit details
-
Copy full SHA for 115b086 - Browse repository at this point
Copy the full SHA 115b086View commit details -
Rollup merge of rust-lang#127978 - nyurik:lib-refs, r=workingjubilee
Avoid ref when using format! for perf Clean up a few minor refs in `format!` macro, as it has a performance cost. Apparently the compiler is unable to inline `format!("{}", &variable)`, and does a run-time double-reference instead (format macro already does one level referencing). Inlining format args prevents accidental `&` misuse.
Configuration menu - View commit details
-
Copy full SHA for e28be0d - Browse repository at this point
Copy the full SHA e28be0dView commit details