-
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 8 pull requests #100785
Rollup of 8 pull requests #100785
Commits on Aug 7, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 863488d - Browse repository at this point
Copy the full SHA 863488dView commit details
Commits on Aug 14, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 34e0d9a - Browse repository at this point
Copy the full SHA 34e0d9aView commit details
Commits on Aug 16, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 25de53f - Browse repository at this point
Copy the full SHA 25de53fView commit details
Commits on Aug 17, 2022
-
Mitigate Stale Data Read for xAPIC vulnerability
In order to mitigate the Stale Data Read for xAPIC vulnerability completely, reading userspace from an SGX enclave must be aligned and in 8-bytes chunks. References: - https://www.intel.com/content/www/us/en/security-center/advisory/intel-sa-00657.html - https://www.intel.com/content/www/us/en/developer/articles/technical/software-security-guidance/advisory-guidance/stale-data-read-from-xapic.html
Configuration menu - View commit details
-
Copy full SHA for 2a23d08 - Browse repository at this point
Copy the full SHA 2a23d08View commit details -
Configuration menu - View commit details
-
Copy full SHA for 780bb08 - Browse repository at this point
Copy the full SHA 780bb08View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0d4f665 - Browse repository at this point
Copy the full SHA 0d4f665View commit details -
Configuration menu - View commit details
-
Copy full SHA for e8499cf - Browse repository at this point
Copy the full SHA e8499cfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 41effad - Browse repository at this point
Copy the full SHA 41effadView commit details -
Configuration menu - View commit details
-
Copy full SHA for 11d9f34 - Browse repository at this point
Copy the full SHA 11d9f34View commit details
Commits on Aug 18, 2022
-
Configuration menu - View commit details
-
Copy full SHA for af4f66e - Browse repository at this point
Copy the full SHA af4f66eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 29fcfa5 - Browse repository at this point
Copy the full SHA 29fcfa5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 943f03f - Browse repository at this point
Copy the full SHA 943f03fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 09ea9f0 - Browse repository at this point
Copy the full SHA 09ea9f0View commit details
Commits on Aug 19, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 6cdf192 - Browse repository at this point
Copy the full SHA 6cdf192View commit details -
Configuration menu - View commit details
-
Copy full SHA for e34da16 - Browse repository at this point
Copy the full SHA e34da16View commit details
Commits on Aug 20, 2022
-
Rollup merge of rust-lang#100188 - chenyukang:fix-issue-100165, r=est…
…ebank Parser will not suggest invalid expression when use public Fixes rust-lang#100165
Configuration menu - View commit details
-
Copy full SHA for 8497248 - Browse repository at this point
Copy the full SHA 8497248View commit details -
Rollup merge of rust-lang#100383 - fortanix:raoul/aepic_leak_mitigati…
…on, r=cuviper Mitigate stale data reads on SGX platform Intel disclosed the Stale Data Read vulnerability yesterday. In order to mitigate this issue completely, reading userspace from an SGX enclave must be aligned and in 8-bytes chunks. This PR implements this mitigation References: - https://www.intel.com/content/www/us/en/security-center/advisory/intel-sa-00657.html - https://www.intel.com/content/www/us/en/developer/articles/technical/software-security-guidance/advisory-guidance/stale-data-read-from-xapic.html cc: `@jethrogb`
Configuration menu - View commit details
-
Copy full SHA for f577300 - Browse repository at this point
Copy the full SHA f577300View commit details -
Rollup merge of rust-lang#100507 - cameron1024:suggest-lazy, r=compil…
…er-errors suggest `once_cell::Lazy` for non-const statics Addresses rust-lang#100410 Some questions: - removing the `if` seems to include too many cases (e.g. calls to non-const functions inside a `const fn`), but this code excludes the following case: ```rust const FOO: Foo = non_const_fn(); ``` Should we suggest `once_cell` in this case as well? - The original issue mentions suggesting `AtomicI32` instead of `Mutex<i32>`, should this PR address that as well?
Configuration menu - View commit details
-
Copy full SHA for e70de69 - Browse repository at this point
Copy the full SHA e70de69View commit details -
Rollup merge of rust-lang#100667 - Xiretza:diag-structs-parser-ivd, r…
…=davidtwco Migrate "invalid variable declaration" errors to SessionDiagnostic After seeing the great blog post on Inside Rust, I decided to try my hand at this. Just one diagnostic for now to get used to the workflow and to check if this is the way to do it or if there are any problems.
Configuration menu - View commit details
-
Copy full SHA for dedae00 - Browse repository at this point
Copy the full SHA dedae00View commit details -
Rollup merge of rust-lang#100681 - CAD97:rustc-print-rustc, r=petroch…
…enkov Add `rustc --print rustc-path` Related: - rust-lang/cargo#10986 - rust-lang/rustup#3035 Goal: Like the original rust-lang/rustup#2958, the goal is to enable `cargo` to call `rustc` directly, rather than through the `rustup` shim. Solution: `cargo` asks `rustc` to tell it what executable to run. Sometime early in compilation, `cargo` will run `$(RUSTC_WRAPPER) $(RUSTC ?: rustc) --print rustc-path`[^1]. Further calls to `rustc` to do execution will use the resolved printed executable path rather than continuing to call the "input `rustc` path," which will allow it to bypass the `rustup` shim. The cargo side is rust-lang/cargo#10998. [^1]: This can potentially be combined with other `--print`s, as well! This is a tiny patch, so I've implemented it as insta-stable; this will need signoff probably from both the compiler and cargo teams. I'm working on the cargo side of the patch currently, but wanted to get this up ASAP. cc `@davidlattimore` `@bjorn3` `@rust-lang/cargo` `@rust-lang/compiler` (sorry for the big ping list 😅)
Configuration menu - View commit details
-
Copy full SHA for 745bfe3 - Browse repository at this point
Copy the full SHA 745bfe3View commit details -
Rollup merge of rust-lang#100709 - JhonnyBillM:port-expected-used-sym…
…bol-diagnostic, r=compiler-errors Migrate typeck's `used` expected symbol diagnostic to `SessionDiagnostic` r? `@davidtwco`
Configuration menu - View commit details
-
Copy full SHA for 5a90fc7 - Browse repository at this point
Copy the full SHA 5a90fc7View commit details -
Rollup merge of rust-lang#100723 - 5225225:the-easy-ones, r=compiler-…
…errors Add the diagnostic translation lints to crates that don't emit them Some of these have a note saying that they should build on a stable compiler, does that mean they shouldn't get these lints? Or can we cfg them out on those?
Configuration menu - View commit details
-
Copy full SHA for c9a124b - Browse repository at this point
Copy the full SHA c9a124bView commit details -
Rollup merge of rust-lang#100724 - JeanCASPAR:migrate-ast_lowering-to…
…-session-diagnostic, r=davidtwco Migrate ast lowering to session diagnostic I migrated the whole rustc_ast_lowering crate to session diagnostic *except* the for the use of `span_fatal` at /compiler/rustc_ast_lowering/src/expr.rs#L1268 because `#[fatal(...)]` is not yet supported (see rust-lang#100694).
Configuration menu - View commit details
-
Copy full SHA for b7e9b99 - Browse repository at this point
Copy the full SHA b7e9b99View commit details