-
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 10 pull requests #132307
Rollup of 10 pull requests #132307
Commits on Oct 27, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 42fbaf1 - Browse repository at this point
Copy the full SHA 42fbaf1View commit details
Commits on Oct 28, 2024
-
compiler: Add rustc_abi dependence to the compiler
Depend on rustc_abi in compiler crates that use it indirectly but have not yet taken on that dependency, and are not entangled in my other PRs. This leaves an "excise rustc_target" step after the dust settles.
Configuration menu - View commit details
-
Copy full SHA for 4839d6e - Browse repository at this point
Copy the full SHA 4839d6eView commit details -
Configuration menu - View commit details
-
Copy full SHA for cb08e08 - Browse repository at this point
Copy the full SHA cb08e08View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1a39247 - Browse repository at this point
Copy the full SHA 1a39247View commit details -
Configuration menu - View commit details
-
Copy full SHA for e3bf50e - Browse repository at this point
Copy the full SHA e3bf50eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3f73fe7 - Browse repository at this point
Copy the full SHA 3f73fe7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7cfbe23 - Browse repository at this point
Copy the full SHA 7cfbe23View commit details -
Configuration menu - View commit details
-
Copy full SHA for 26b6ccd - Browse repository at this point
Copy the full SHA 26b6ccdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4bd84b2 - Browse repository at this point
Copy the full SHA 4bd84b2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 82bfe05 - Browse repository at this point
Copy the full SHA 82bfe05View commit details -
Updating Fuchsia platform-support documentation
Updated for changes in the package server workflow.
Configuration menu - View commit details
-
Copy full SHA for 2cc9d58 - Browse repository at this point
Copy the full SHA 2cc9d58View commit details -
compiler: Add
is_uninhabited
and use LayoutS accessorsThis reduces the need of the compiler to peek on the fields of LayoutS.
Configuration menu - View commit details
-
Copy full SHA for 88a9edc - Browse repository at this point
Copy the full SHA 88a9edcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 641ce06 - Browse repository at this point
Copy the full SHA 641ce06View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5f91811 - Browse repository at this point
Copy the full SHA 5f91811View commit details -
Configuration menu - View commit details
-
Copy full SHA for 673867e - Browse repository at this point
Copy the full SHA 673867eView commit details
Commits on Oct 29, 2024
-
Rollup merge of rust-lang#130259 - adwinwhite:lower-node-id-once, r=c…
…jgillot Lower AST node id only once Fixes rust-lang#96346. I basically followed the given instructions except the inline part. `lower_jump_destination` can't reuse local existing `HirId` due to unknown name resolution result so I created an additional mapping for labels. r? ````@cjgillot````
Configuration menu - View commit details
-
Copy full SHA for 8edbd04 - Browse repository at this point
Copy the full SHA 8edbd04View commit details -
Rollup merge of rust-lang#131441 - SpriteOvO:proc-macro-to-tokens-tra…
…it, r=dtolnay Add a new trait `proc_macro::ToTokens` Tracking issue rust-lang#130977 This PR adds a new trait `ToTokens`, implemented for types that can be interpolated inside a `quote!` invocation. ```rust impl ToTokens for TokenTree impl ToTokens for TokenStream impl ToTokens for Literal impl ToTokens for Ident impl ToTokens for Punct impl ToTokens for Group impl<T: ToTokens + ?Sized> ToTokens for &T impl<T: ToTokens + ?Sized> ToTokens for &mut T impl<T: ToTokens + ?Sized> ToTokens for Box<T> impl<T: ToTokens + ?Sized> ToTokens for Rc<T> impl<T: ToTokens + ToOwned + ?Sized> ToTokens for Cow<'_, T> impl<T: ToTokens> ToTokens for Option<T> impl ToTokens for u{8,16,32,64,128} impl ToTokens for i{8,16,32,64,128} impl ToTokens for f{32,64} impl ToTokens for {u,i}size impl ToTokens for bool impl ToTokens for char impl ToTokens for str impl ToTokens for String impl ToTokens for CStr impl ToTokens for CString ``` ~This PR also implements the migration mentioned in the tracking issue, replacing `Extend<Token{Tree,Stream}>` with `Extend<T: ToTokens>`, and replacing `FromIterator<Token{Tree,Stream}>` with `FromIterator<T: ToTokens>`.~ **UPDATE**: Reverted. ```diff -impl FromIterator<TokenTree> for TokenStream -impl FromIterator<TokenStream> for TokenStream +impl<T: ToTokens> FromIterator<T> for TokenStream -impl Extend<TokenTree> for TokenStream -impl Extend<TokenStream> for TokenStream +impl<T: ToTokens> Extend<T> for TokenStream ``` I'm going to leave some comments in the review where I'm unsure and concerned. r? ```@dtolnay``` CC ```@tgross35```
Configuration menu - View commit details
-
Copy full SHA for 1ca6a0d - Browse repository at this point
Copy the full SHA 1ca6a0dView commit details -
Rollup merge of rust-lang#132247 - workingjubilee:add-rustc-abi-to-sm…
…ir, r=celinval stable_mir: Directly use types from rustc_abi In most cases, rustc_target is not necessary, so use rustc_abi instead of its reexports.
Configuration menu - View commit details
-
Copy full SHA for 6ce571f - Browse repository at this point
Copy the full SHA 6ce571fView commit details -
Rollup merge of rust-lang#132249 - workingjubilee:add-rustc-abi, r=co…
…mpiler-errors compiler: Add rustc_abi dependence to the compiler Depend on rustc_abi in compiler crates that use it indirectly but have not yet taken on that dependency, and are not *significantly* entangled in my other PRs. This leaves an "excise rustc_target" step after the dust settles.
Configuration menu - View commit details
-
Copy full SHA for ae13340 - Browse repository at this point
Copy the full SHA ae13340View commit details -
Rollup merge of rust-lang#132255 - workingjubilee:layout-is-🏚️, r=com…
…piler-errors Add `LayoutData::is_uninhabited` and use it Use accessors for the things that accessors are good at: reducing everyone's need to be nosy and peek at the internals of every data structure.
Configuration menu - View commit details
-
Copy full SHA for baa72e6 - Browse repository at this point
Copy the full SHA baa72e6View commit details -
Rollup merge of rust-lang#132258 - GuillaumeGomez:variant-structfield…
…s-margins, r=notriddle [rustdoc] Unify variant struct fields margins with struct fields As discussed in rust-lang#132220. | before | after | |-|-| | ![image](https://github.com/user-attachments/assets/d8d8336d-7fe4-45fb-a5a5-36a4023223f5) | ![Screenshot from 2024-10-28 11-17-24](https://github.com/user-attachments/assets/9d0d9633-b857-45b4-9217-7d0d1aa8f770) | r? ````@notriddle````
Configuration menu - View commit details
-
Copy full SHA for dcd0693 - Browse repository at this point
Copy the full SHA dcd0693View commit details -
Rollup merge of rust-lang#132260 - Zalathar:type-safe-cast, r=compile…
…r-errors cg_llvm: Use a type-safe helper to cast `&str` and `&[u8]` to `*const c_char` In `rustc_codegen_llvm` there are many uses of `.as_ptr().cast()` to convert a string or byte-slice to `*const c_char`, which then gets passed through FFI. This works, but is fragile, because there's nothing constraining the pointer cast to actually be from `u8` to `c_char`. If the original value changes to something else that has an `as_ptr` method, or the context changes to expect something other than `c_char`, the cast will silently do the wrong thing. By making the cast more explicit via a helper method, we can be sure that it will either perform the intended cast, or fail at compile time.
Configuration menu - View commit details
-
Copy full SHA for 302bbf6 - Browse repository at this point
Copy the full SHA 302bbf6View commit details -
Rollup merge of rust-lang#132261 - ChrisCho-H:refactor/cleaner-check-…
…none, r=compiler-errors refactor: cleaner check to return None It's very nit change. Refactor to shorten verbose check when returning None for `backend_feature_name`.
Configuration menu - View commit details
-
Copy full SHA for 2377cfd - Browse repository at this point
Copy the full SHA 2377cfdView commit details -
Rollup merge of rust-lang#132271 - claywilkinson:master, r=tmandry
Updating Fuchsia platform-support documentation Updated for changes in the package server workflow. r? ````@tmandry```` ````@erickt````
Configuration menu - View commit details
-
Copy full SHA for 9d9216f - Browse repository at this point
Copy the full SHA 9d9216fView commit details -
Rollup merge of rust-lang#132295 - the8472:remove-randomize-exclusion…
…1, r=onur-ozkan fixed wast version was released, remove randomization exemption
Configuration menu - View commit details
-
Copy full SHA for 94ee84f - Browse repository at this point
Copy the full SHA 94ee84fView commit details