-
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 7 pull requests #122777
Rollup of 7 pull requests #122777
Commits on Mar 19, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 3dfd0fd - Browse repository at this point
Copy the full SHA 3dfd0fdView commit details -
Configuration menu - View commit details
-
Copy full SHA for e4487ad - Browse repository at this point
Copy the full SHA e4487adView commit details -
Configuration menu - View commit details
-
Copy full SHA for d697dd4 - Browse repository at this point
Copy the full SHA d697dd4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 45cb9d8 - Browse repository at this point
Copy the full SHA 45cb9d8View commit details -
Use the default file permissions when writing
static libraries with ar_archive_writer Fixes rust-lang#107495
Configuration menu - View commit details
-
Copy full SHA for 2a805f5 - Browse repository at this point
Copy the full SHA 2a805f5View commit details -
rustc is just one tool/executable, even if at the center of the toolchain
Configuration menu - View commit details
-
Copy full SHA for 75a5196 - Browse repository at this point
Copy the full SHA 75a5196View commit details
Commits on Mar 20, 2024
-
fix OOB pointer formed in Vec::index
Move the length check to before using `index` with `ptr::add` to prevent an out of bounds pointer from being formed. Fixes rust-lang#122760
Configuration menu - View commit details
-
Copy full SHA for 37718f9 - Browse repository at this point
Copy the full SHA 37718f9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 70206f0 - Browse repository at this point
Copy the full SHA 70206f0View commit details -
coverage: Remove incorrect assertions from counter allocation
These assertions detect situations where a BCB node would have both a physical counter and one or more in-edge counters/expressions. For most BCBs that situation would indicate an implementation bug. However, it's perfectly fine in the case of a BCB having an edge that loops back to itself. Given the complexity and risk involved in fixing the assertions, and the fact that nothing relies on them actually being true, this patch just removes them instead.
Configuration menu - View commit details
-
Copy full SHA for 85bec7a - Browse repository at this point
Copy the full SHA 85bec7aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2f21e4f - Browse repository at this point
Copy the full SHA 2f21e4fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 92f668c - Browse repository at this point
Copy the full SHA 92f668cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 98e6655 - Browse repository at this point
Copy the full SHA 98e6655View commit details -
Rollup merge of rust-lang#122644 - Nadrieril:complexity-tests, r=comp…
…iler-errors pattern analysis: add a custom test harness There are two features of the pattern analysis code that are hard to test: the newly-added pattern complexity limit, and the computation of arm intersections. This PR adds some crate-specific tests for that, including an unmaintainable but pretty macro to help construct patterns. r? `@compiler-errors`
Configuration menu - View commit details
-
Copy full SHA for 01b16b5 - Browse repository at this point
Copy the full SHA 01b16b5View commit details -
Rollup merge of rust-lang#122723 - bjorn3:archive_writer_fixes, r=nne…
…thercote Use same file permissions for ar_archive_writer as the LLVM archive writer This is required to switch to ar_archive_writer in the future without regressions. In addition to this PR support for reading thin archives needs to be added (rust-lang#107407) to fix all known regressions. Fixes rust-lang#107495
Configuration menu - View commit details
-
Copy full SHA for e779e97 - Browse repository at this point
Copy the full SHA e779e97View commit details -
Rollup merge of rust-lang#122740 - tshepang:patch-1, r=clubby789
use more accurate terminology rustc is just one tool/executable, even if at the center of the toolchain
Configuration menu - View commit details
-
Copy full SHA for ae90533 - Browse repository at this point
Copy the full SHA ae90533View commit details -
Rollup merge of rust-lang#122761 - jwong101:fix/vec-insert, r=working…
…jubilee,Nilstrieb fix OOB pointer formed in Vec::index Move the length check to before using `index` with `ptr::add` to prevent an out of bounds pointer from being formed. Fixes rust-lang#122760
Configuration menu - View commit details
-
Copy full SHA for c9fb47a - Browse repository at this point
Copy the full SHA c9fb47aView commit details -
Rollup merge of rust-lang#122764 - Zalathar:loopy, r=oli-obk
coverage: Remove incorrect assertions from counter allocation These assertions detect situations where a BCB node (in the coverage graph) would have both a physical counter and one or more in-edge counters/expressions. For most BCBs that situation would indicate an implementation bug. However, it's perfectly fine in the case of a BCB having an edge that loops back to itself. Given the complexity and risk involved in fixing the assertions, and the fact that nothing relies on them actually being true, this patch just removes them instead. Fixes rust-lang#122738. `@rustbot` label +A-code-coverage
Configuration menu - View commit details
-
Copy full SHA for 6c92e04 - Browse repository at this point
Copy the full SHA 6c92e04View commit details -
Rollup merge of rust-lang#122765 - workingjubilee:test-for-vec-handli…
…ng-usize-max, r=Nilstrieb Add `usize::MAX` arg tests for Vec Tests to prevent recurrence of the UB from the rust-lang#122760 issue. I skipped the `with_capacity`, `drain`, `reserve`, etc. APIs because they actually had a good assortment of tests earlier in the same file. r? Nilstrieb
Configuration menu - View commit details
-
Copy full SHA for 991f252 - Browse repository at this point
Copy the full SHA 991f252View commit details -
Rollup merge of rust-lang#122776 - GuillaumeGomez:rename-hir-let, r=o…
…li-obk Rename `hir::Let` into `hir::LetExpr` As discussed on [zulip](https://rust-lang.zulipchat.com/#narrow/stream/131828-t-compiler/topic/Improve.20naming.20of.20.60ExprKind.3A.3ALet.60.3F). r? `@Zalathar`
Configuration menu - View commit details
-
Copy full SHA for c55ca2e - Browse repository at this point
Copy the full SHA c55ca2eView commit details