-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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 9 pull requests #98486
Rollup of 9 pull requests #98486
Commits on Apr 25, 2022
-
Windows: Iterative
remove_dir_all
This will allow better strategies for use of memory and File handles. However, fully taking advantage of that is left to future work.
Configuration menu - View commit details
-
Copy full SHA for 8b1f85c - Browse repository at this point
Copy the full SHA 8b1f85cView commit details
Commits on Apr 26, 2022
-
It's possible that a file in the directory is pending deletion. In that case we might succeed after a few attempts.
Configuration menu - View commit details
-
Copy full SHA for 8dc4696 - Browse repository at this point
Copy the full SHA 8dc4696View commit details
Commits on Apr 28, 2022
-
Configuration menu - View commit details
-
Copy full SHA for d579665 - Browse repository at this point
Copy the full SHA d579665View commit details
Commits on Jun 15, 2022
-
Configuration menu - View commit details
-
Copy full SHA for ab3a2a0 - Browse repository at this point
Copy the full SHA ab3a2a0View commit details -
Mitigate MMIO stale data vulnerabilities
Intel Security Advisory: https://www.intel.com/content/www/us/en/security-center/advisory/intel-sa-00615.html
Configuration menu - View commit details
-
Copy full SHA for 531752f - Browse repository at this point
Copy the full SHA 531752fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6f7d193 - Browse repository at this point
Copy the full SHA 6f7d193View commit details -
Configuration menu - View commit details
-
Copy full SHA for a27aace - Browse repository at this point
Copy the full SHA a27aaceView commit details
Commits on Jun 16, 2022
-
Configuration menu - View commit details
-
Copy full SHA for d722944 - Browse repository at this point
Copy the full SHA d722944View commit details
Commits on Jun 20, 2022
-
Configuration menu - View commit details
-
Copy full SHA for e642c59 - Browse repository at this point
Copy the full SHA e642c59View commit details
Commits on Jun 21, 2022
-
rust-lang#91318 introduced a trait for infallible folders distinct from the fallible version. For some reason (completely unfathomable to me now that I look at it with fresh eyes), the infallible trait was a supertrait of the fallible one: that is, all fallible folders were required to also be infallible. Moreover the `Error` associated type was defined on the infallible trait! It's so absurd that it has me questioning whether I was entirely sane. This trait reverses the hierarchy, so that the fallible trait is a supertrait of the infallible one: all infallible folders are required to also be fallible (which is a trivial blanket implementation). This of course makes much more sense! It also enables the `Error` associated type to sit on the fallible trait, where it sensibly belongs. There is one downside however: folders expose a `tcx` accessor method. Since the blanket fallible implementation for infallible folders only has access to a generic `F: TypeFolder`, we need that trait to expose such an accessor to which we can delegate. Alternatively it's possible to extract that accessor into a separate `HasTcx` trait (or similar) that would then be a supertrait of both the fallible and infallible folder traits: this would ensure that there's only one unambiguous `tcx` method, at the cost of a little additional boilerplate. If desired, I can submit that as a separate PR. r? @jackh726
Configuration menu - View commit details
-
Copy full SHA for 6ac6866 - Browse repository at this point
Copy the full SHA 6ac6866View commit details -
Configuration menu - View commit details
-
Copy full SHA for 75203ee - Browse repository at this point
Copy the full SHA 75203eeView commit details
Commits on Jun 22, 2022
-
point to type param definition when not finding variant, method and a…
…ssoc type use `def_ident_span` , `body_owner_def_id` instead of `in_progress_typeck_results`, `guess_head_span` use `body_id.owner` directly add description to label
Configuration menu - View commit details
-
Copy full SHA for 402dceb - Browse repository at this point
Copy the full SHA 402dcebView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6a6910e - Browse repository at this point
Copy the full SHA 6a6910eView commit details -
Configuration menu - View commit details
-
Copy full SHA for d23eea5 - Browse repository at this point
Copy the full SHA d23eea5View commit details
Commits on Jun 23, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 3c7f1f1 - Browse repository at this point
Copy the full SHA 3c7f1f1View commit details
Commits on Jun 24, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 4c4fb71 - Browse repository at this point
Copy the full SHA 4c4fb71View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2e3221a - Browse repository at this point
Copy the full SHA 2e3221aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 38814fc - Browse repository at this point
Copy the full SHA 38814fcView commit details -
Configuration menu - View commit details
-
Copy full SHA for f39c0d6 - Browse repository at this point
Copy the full SHA f39c0d6View commit details -
Configuration menu - View commit details
-
Copy full SHA for ada2acc - Browse repository at this point
Copy the full SHA ada2accView commit details -
Configuration menu - View commit details
-
Copy full SHA for bf48b62 - Browse repository at this point
Copy the full SHA bf48b62View commit details -
take advantage of a labelled block
Co-authored-by: Michael Goulet <michael@errs.io>
Configuration menu - View commit details
-
Copy full SHA for e25129b - Browse repository at this point
Copy the full SHA e25129bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1dfb53b - Browse repository at this point
Copy the full SHA 1dfb53bView commit details
Commits on Jun 25, 2022
-
Rollup merge of rust-lang#96412 - ChrisDenton:remove-dir-all, r=thomcc
Windows: Iterative `remove_dir_all` This will allow better strategies for use of memory and File handles. However, fully taking advantage of that is left to future work. Note to reviewer: It's probably best to view the `remove_dir_all_recursive` as a new function. The diff is not very helpful (imho).
Configuration menu - View commit details
-
Copy full SHA for d7388d1 - Browse repository at this point
Copy the full SHA d7388d1View commit details -
Rollup merge of rust-lang#98126 - fortanix:raoul/mitigate_stale_data_…
…vulnerability, r=cuviper Mitigate MMIO stale data vulnerability Intel publicly disclosed the MMIO stale data vulnerability on June 14. To mitigate this vulnerability, compiler changes are required for the `x86_64-fortanix-unknown-sgx` target. cc: ````@jethrogb````
Configuration menu - View commit details
-
Copy full SHA for a130521 - Browse repository at this point
Copy the full SHA a130521View commit details -
Rollup merge of rust-lang#98149 - hoodmane:emscripten-pic, r=petroche…
…nkov Set relocation_model to Pic on emscripten target So we can support dynamically linking libraries with Emscripten (otherwise we need to use nightly and `-Zbuild-std` to rebuild std with relocations). `````@sbc100`````
Configuration menu - View commit details
-
Copy full SHA for 45ef23d - Browse repository at this point
Copy the full SHA 45ef23dView commit details -
Rollup merge of rust-lang#98194 - m-ou-se:leak-locked-pthread-mutex, …
…r=Amanieu Leak pthread_{mutex,rwlock}_t if it's dropped while locked. Fixes rust-lang#85434.
Configuration menu - View commit details
-
Copy full SHA for ecefccd - Browse repository at this point
Copy the full SHA ecefccdView commit details -
Rollup merge of rust-lang#98298 - TaKO8Ki:point-to-type-param-definit…
…ion, r=compiler-errors Point to type parameter definition when not finding variant, method and associated item fixes rust-lang#77391
Configuration menu - View commit details
-
Copy full SHA for 8257ba2 - Browse repository at this point
Copy the full SHA 8257ba2View commit details -
Rollup merge of rust-lang#98311 - eggyal:reverse-folder-hierarchy, r=…
…jackh726 Reverse folder hierarchy rust-lang#91318 introduced a trait for infallible folders distinct from the fallible version. For some reason (completely unfathomable to me now that I look at it with fresh eyes), the infallible trait was a supertrait of the fallible one: that is, all fallible folders were required to also be infallible. Moreover the `Error` associated type was defined on the infallible trait! It's so absurd that it has me questioning whether I was entirely sane. This trait reverses the hierarchy, so that the fallible trait is a supertrait of the infallible one: all infallible folders are required to also be fallible (which is a trivial blanket implementation). This of course makes much more sense! It also enables the `Error` associated type to sit on the fallible trait, where it sensibly belongs. There is one downside however: folders expose a `tcx` accessor method. Since the blanket fallible implementation for infallible folders only has access to a generic `F: TypeFolder`, we need that trait to expose such an accessor to which we can delegate. Alternatively it's possible to extract that accessor into a separate `HasTcx` trait (or similar) that would then be a supertrait of both the fallible and infallible folder traits: this would ensure that there's only one unambiguous `tcx` method, at the cost of a little additional boilerplate. If desired, I can submit that as a separate PR. r? ````@jackh726````
Configuration menu - View commit details
-
Copy full SHA for 65187f5 - Browse repository at this point
Copy the full SHA 65187f5View commit details -
Rollup merge of rust-lang#98401 - ehuss:extern-tracking, r=Dylan-DPC
Add tracking issues to `--extern` option docs.
Configuration menu - View commit details
-
Copy full SHA for 95ba108 - Browse repository at this point
Copy the full SHA 95ba108View commit details -
Rollup merge of rust-lang#98429 - b-naber:use-correct-substs-discrimi…
…nant-cast, r=lcnr Use correct substs in enum discriminant cast Fixes rust-lang#97634 r? ```@lcnr```
Configuration menu - View commit details
-
Copy full SHA for ea07b96 - Browse repository at this point
Copy the full SHA ea07b96View commit details -
Rollup merge of rust-lang#98431 - WaffleLapkin:mut_pat_suggestions, r…
…=compiler-errors Suggest defining variable as mutable on `&mut _` type mismatch in pats Suggest writing `mut a` where `&mut a` was written but a non-ref type provided. Since we still don't have "apply either one of the suggestions but not both" kind of thing, the interaction with the suggestion of removing `&[mut]` or moving it to the type is weird, and idk how to make it better.. r? ``@compiler-errors``
Configuration menu - View commit details
-
Copy full SHA for 1f923c2 - Browse repository at this point
Copy the full SHA 1f923c2View commit details