-
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 8 pull requests #111162
Rollup of 8 pull requests #111162
Commits on Feb 16, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 9622cde - Browse repository at this point
Copy the full SHA 9622cdeView commit details
Commits on Apr 17, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 1a7132d - Browse repository at this point
Copy the full SHA 1a7132dView commit details -
rustdoc: restructure type search engine to pick-and-use IDs
This change makes it so, instead of mixing string distance with type unification, function signature search works by mapping names to IDs at the start, reporting to the user any cases where it had to make corrections, and then matches with IDs when going through the items. This only changes function searches. Name searches are left alone, and corrections are only done when there's a single item in the search query.
Configuration menu - View commit details
-
Copy full SHA for 4c11822 - Browse repository at this point
Copy the full SHA 4c11822View commit details
Commits on Apr 19, 2023
-
Configuration menu - View commit details
-
Copy full SHA for b6f81e0 - Browse repository at this point
Copy the full SHA b6f81e0View commit details
Commits on Apr 20, 2023
-
Configuration menu - View commit details
-
Copy full SHA for e0a7462 - Browse repository at this point
Copy the full SHA e0a7462View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7529d87 - Browse repository at this point
Copy the full SHA 7529d87View commit details -
Configuration menu - View commit details
-
Copy full SHA for 395840c - Browse repository at this point
Copy the full SHA 395840cView commit details
Commits on Apr 26, 2023
-
Add cross-language LLVM CFI support to the Rust compiler
This commit adds cross-language LLVM Control Flow Integrity (CFI) support to the Rust compiler by adding the `-Zsanitizer-cfi-normalize-integers` option to be used with Clang `-fsanitize-cfi-icall-normalize-integers` for normalizing integer types (see https://reviews.llvm.org/D139395). It provides forward-edge control flow protection for C or C++ and Rust -compiled code "mixed binaries" (i.e., for when C or C++ and Rust -compiled code share the same virtual address space). For more information about LLVM CFI and cross-language LLVM CFI support for the Rust compiler, see design document in the tracking issue rust-lang#89653. Cross-language LLVM CFI can be enabled with -Zsanitizer=cfi and -Zsanitizer-cfi-normalize-integers, and requires proper (i.e., non-rustc) LTO (i.e., -Clinker-plugin-lto).
Configuration menu - View commit details
-
Copy full SHA for 759e4d3 - Browse repository at this point
Copy the full SHA 759e4d3View commit details -
Update documentation for LLVM CFI support
This commit updates the documentation for the LLVM Control Flow Integrity (CFI) support in the Rust compiler.
Configuration menu - View commit details
-
Copy full SHA for 77b4492 - Browse repository at this point
Copy the full SHA 77b4492View commit details
Commits on May 2, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 9fba262 - Browse repository at this point
Copy the full SHA 9fba262View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4d04a06 - Browse repository at this point
Copy the full SHA 4d04a06View commit details -
Remove
[]
<->()
From
convertions... with this convertions some tests fail :(
Configuration menu - View commit details
-
Copy full SHA for 04305c0 - Browse repository at this point
Copy the full SHA 04305c0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 36f8693 - Browse repository at this point
Copy the full SHA 36f8693View commit details -
Configuration menu - View commit details
-
Copy full SHA for 522eeba - Browse repository at this point
Copy the full SHA 522eebaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6382876 - Browse repository at this point
Copy the full SHA 6382876View commit details
Commits on May 3, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 4fec8a3 - Browse repository at this point
Copy the full SHA 4fec8a3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6f6c379 - Browse repository at this point
Copy the full SHA 6f6c379View commit details -
Use builtin FFX isolation for Fuchsia test runner
FFX has new builtin support for isolating the daemon's environment. This switches the manual isolation originally written to that new builtin feature.
David Koloski committedMay 3, 2023 Configuration menu - View commit details
-
Copy full SHA for e973836 - Browse repository at this point
Copy the full SHA e973836View commit details -
Configuration menu - View commit details
-
Copy full SHA for de10516 - Browse repository at this point
Copy the full SHA de10516View commit details -
Rollup merge of rust-lang#97594 - WaffleLapkin:array_tuple_conv, r=Ch…
…risDenton Implement tuple<->array convertions via `From` This PR adds the following impls that convert between homogeneous tuples and arrays of the corresponding lengths: ```rust impl<T> From<[T; 1]> for (T,) { ... } impl<T> From<[T; 2]> for (T, T) { ... } /* ... */ impl<T> From<[T; 12]> for (T, T, T, T, T, T, T, T, T, T, T, T) { ... } impl<T> From<(T,)> for [T; 1] { ... } impl<T> From<(T, T)> for [T; 2] { ... } /* ... */ impl<T> From<(T, T, T, T, T, T, T, T, T, T, T, T)> for [T; 12] { ... } ``` IMO these are quite uncontroversial but note that they are, just like any other trait impls, insta-stable.
Configuration menu - View commit details
-
Copy full SHA for cefc4a2 - Browse repository at this point
Copy the full SHA cefc4a2View commit details -
Rollup merge of rust-lang#105452 - rcvalle:rust-cfi-3, r=bjorn3
Add cross-language LLVM CFI support to the Rust compiler This PR adds cross-language LLVM Control Flow Integrity (CFI) support to the Rust compiler by adding the `-Zsanitizer-cfi-normalize-integers` option to be used with Clang `-fsanitize-cfi-icall-normalize-integers` for normalizing integer types (see https://reviews.llvm.org/D139395). It provides forward-edge control flow protection for C or C++ and Rust -compiled code "mixed binaries" (i.e., for when C or C++ and Rust -compiled code share the same virtual address space). For more information about LLVM CFI and cross-language LLVM CFI support for the Rust compiler, see design document in the tracking issue rust-lang#89653. Cross-language LLVM CFI can be enabled with -Zsanitizer=cfi and -Zsanitizer-cfi-normalize-integers, and requires proper (i.e., non-rustc) LTO (i.e., -Clinker-plugin-lto). Thank you again, `@bjorn3,` `@nikic,` `@samitolvanen,` and the Rust community for all the help!
Configuration menu - View commit details
-
Copy full SHA for 04e968a - Browse repository at this point
Copy the full SHA 04e968aView commit details -
Rollup merge of rust-lang#105695 - joboet:remove_generic_parker, r=m-…
…ou-se Replace generic thread parker with explicit no-op parker With rust-lang#98391 merged, all platforms supporting threads now have their own parking implementations. Therefore, the generic implementation can be removed. On the remaining platforms (really just WASM without atomics), parking is not supported, so calls to `thread::park` now return instantly, which is [allowed by their API](https://doc.rust-lang.org/nightly/std/thread/fn.park.html). This is a change in behaviour, as spurious wakeups do not currently occur since all platforms guard against them. It is invalid to depend on this, but I'm still going to tag this as libs-api for confirmation. `@rustbot` label +T-libs +T-libs-api +A-atomic r? rust-lang/libs
Configuration menu - View commit details
-
Copy full SHA for 84c5179 - Browse repository at this point
Copy the full SHA 84c5179View commit details -
Rollup merge of rust-lang#110371 - notriddle:notriddle/search-correct…
…ions, r=GuillaumeGomez rustdoc: restructure type search engine to pick-and-use IDs Fixes rust-lang#110029 Preview: https://notriddle.com/rustdoc-demo-html-3/search-corrections/std/index.html?search=-%3E%20streaming ![image](https://user-images.githubusercontent.com/1593513/233494900-ae77d5b4-e395-41f8-bbac-53ee55bb4a76.png) This change makes it so, instead of mixing string distance with type unification, function signature search works by mapping names to IDs at the start, reporting to the user any cases where it had to make corrections, and then matches with IDs when going through the items. This only changes function searches. Name searches are left alone, and corrections are only done when there's a single item in the search query.
Configuration menu - View commit details
-
Copy full SHA for 3daf40e - Browse repository at this point
Copy the full SHA 3daf40eView commit details -
Rollup merge of rust-lang#111104 - Manishearth:icuup, r=compiler-errors
Update ICU4X to 1.2 Was released a couple weeks ago. Also needed to make progress on rust-lang#109302 (though this PR does not achieve that part just yet)
Configuration menu - View commit details
-
Copy full SHA for 93acb8b - Browse repository at this point
Copy the full SHA 93acb8bView commit details -
Rollup merge of rust-lang#111127 - xfix:const-slice-flatten, r=scottmcm
Constify slice flatten method ACP: rust-lang/libs-team#218
Configuration menu - View commit details
-
Copy full SHA for 1b255c8 - Browse repository at this point
Copy the full SHA 1b255c8View commit details -
Rollup merge of rust-lang#111146 - petrochenkov:decident, r=compiler-…
…errors rustc_middle: Fix `opt_item_ident` for non-local def ids Noticed while working on rust-lang#110855.
Configuration menu - View commit details
-
Copy full SHA for b0198f2 - Browse repository at this point
Copy the full SHA b0198f2View commit details -
Rollup merge of rust-lang#111154 - djkoloski:use_builtin_ffx_isolatio…
…n, r=tmandry Use builtin FFX isolation for Fuchsia test runner FFX has new builtin support for isolating the daemon's environment. This switches the manual isolation originally written to that new builtin feature. r? `@tmandry`
Configuration menu - View commit details
-
Copy full SHA for 2d4521f - Browse repository at this point
Copy the full SHA 2d4521fView commit details