-
Notifications
You must be signed in to change notification settings - Fork 12.2k
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 6 pull requests #121254
Rollup of 6 pull requests #121254
Commits on Jan 31, 2024
-
Configuration menu - View commit details
-
Copy full SHA for d907a6b - Browse repository at this point
Copy the full SHA d907a6bView commit details -
Add regression test for rust-lang#120471 to ensure that long crate na…
…me are handled as expected on mobile
Configuration menu - View commit details
-
Copy full SHA for 5d29f5a - Browse repository at this point
Copy the full SHA 5d29f5aView commit details
Commits on Feb 9, 2024
-
As Windows 10 requires certain features like CMPXCHG16B and a few oth…
…ers and Rust plans to set Windows 10 as the minimum supported OS for target x86_64-pc-windows-msvc, I have added the cmpxchg16b and sse3 feature (as CPUs that meet the Windows 10 64-bit requirement also support SSE3. See https://walbourn.github.io/directxmath-sse3-and-ssse3/ )
Configuration menu - View commit details
-
Copy full SHA for d51e703 - Browse repository at this point
Copy the full SHA d51e703View commit details -
Update x86_64_pc_windows_msvc.rs
Fixed a bug where adding CMPXCHG16B would fail due to different names in Rustc and LLVM
Configuration menu - View commit details
-
Copy full SHA for d6766e2 - Browse repository at this point
Copy the full SHA d6766e2View commit details -
Update x86_64_pc_windows_msvc.rs
As CMPXCHG16B is supported, I updated the max atomic width to 128-bits from 64-bits
Configuration menu - View commit details
-
Copy full SHA for fcb06f7 - Browse repository at this point
Copy the full SHA fcb06f7View commit details -
Update x86_64_uwp_windows_gnu.rs
Updated x86_64-uwp-windows-gnu to use CMPXCHG16B and SSE3
Configuration menu - View commit details
-
Copy full SHA for abeac8f - Browse repository at this point
Copy the full SHA abeac8fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1c6dda7 - Browse repository at this point
Copy the full SHA 1c6dda7View commit details
Commits on Feb 13, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 376c7b9 - Browse repository at this point
Copy the full SHA 376c7b9View commit details
Commits on Feb 16, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 131cc37 - Browse repository at this point
Copy the full SHA 131cc37View commit details -
Detect when method call on argument could be removed to fulfill faile…
…d trait bound When encountering ```rust struct Foo; struct Bar; impl From<Bar> for Foo { fn from(_: Bar) -> Self { Foo } } fn qux(_: impl From<Bar>) {} fn main() { qux(Bar.into()); } ``` Suggest removing `.into()`: ``` error[E0283]: type annotations needed --> f100.rs:8:13 | 8 | qux(Bar.into()); | --- ^^^^ | | | required by a bound introduced by this call | = note: cannot satisfy `_: From<Bar>` note: required by a bound in `qux` --> f100.rs:6:16 | 6 | fn qux(_: impl From<Bar>) {} | ^^^^^^^^^ required by this bound in `qux` help: try using a fully qualified path to specify the expected types | 8 | qux(<Bar as Into<T>>::into(Bar)); | +++++++++++++++++++++++ ~ help: consider removing this method call, as the receiver has type `Bar` and `Bar: From<Bar>` can be fulfilled | 8 - qux(Bar.into()); 8 + qux(Bar); | ``` Fix rust-lang#71252
Configuration menu - View commit details
-
Copy full SHA for 9b3fcf9 - Browse repository at this point
Copy the full SHA 9b3fcf9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3a917cd - Browse repository at this point
Copy the full SHA 3a917cdView commit details
Commits on Feb 17, 2024
-
add test to guard against inaccurate diagnostic
Also replaces an incomplete test
Configuration menu - View commit details
-
Copy full SHA for e3859d2 - Browse repository at this point
Copy the full SHA e3859d2View commit details
Commits on Feb 18, 2024
-
Improve wording of static_mut_ref
Rename `static_mut_ref` lint to `static_mut_refs`.
Configuration menu - View commit details
-
Copy full SHA for 408eeae - Browse repository at this point
Copy the full SHA 408eeaeView commit details -
Rollup merge of rust-lang#116342 - c410-f3r:t3st3ss, r=Mark-Simulacrum
Initiate the inner usage of `cfg_match` (Library) cc rust-lang#115585 Continuation of rust-lang#116312
Configuration menu - View commit details
-
Copy full SHA for 2a438a6 - Browse repository at this point
Copy the full SHA 2a438a6View commit details -
Rollup merge of rust-lang#120526 - GuillaumeGomez:mobile-long-crate-n…
…ame, r=notriddle rustdoc: Correctly handle long crate names on mobile Fixes rust-lang#120471. It now renders like this: ![image](https://github.com/rust-lang/rust/assets/3050060/065b4b8b-ba55-4163-a928-8d7bf735c111) r? ``@notriddle``
Configuration menu - View commit details
-
Copy full SHA for 12af8a9 - Browse repository at this point
Copy the full SHA 12af8a9View commit details -
Rollup merge of rust-lang#120820 - CKingX:cpu-base-minimum, r=petroch…
…enkov Enable CMPXCHG16B, SSE3, SAHF/LAHF and 128-bit Atomics (in nightly) in Windows x64 As Rust plans to set Windows 10 as the minimum supported OS for target x86_64-pc-windows-msvc, I have added the cmpxchg16b and sse3 feature. Windows 10 requires CMPXCHG16B, LAHF/SAHF, and PrefetchW as stated in the requirements [here](https://download.microsoft.com/download/c/1/5/c150e1ca-4a55-4a7e-94c5-bfc8c2e785c5/Windows%2010%20Minimum%20Hardware%20Requirements.pdf). Furthermore, CPUs that meet these requirements also have SSE3 ([see](https://walbourn.github.io/directxmath-sse3-and-ssse3/))
Configuration menu - View commit details
-
Copy full SHA for 8aea4c3 - Browse repository at this point
Copy the full SHA 8aea4c3View commit details -
Rollup merge of rust-lang#121034 - obeis:improve-static-mut-ref, r=Ra…
…lfJung Improve wording of `static_mut_ref` Close rust-lang#120964
Configuration menu - View commit details
-
Copy full SHA for c465cfa - Browse repository at this point
Copy the full SHA c465cfaView commit details -
Rollup merge of rust-lang#121067 - tshepang:make-expand-translatable,…
… r=fmease make "invalid fragment specifier" translatable
Configuration menu - View commit details
-
Copy full SHA for 3aff0b0 - Browse repository at this point
Copy the full SHA 3aff0b0View commit details -
Rollup merge of rust-lang#121100 - estebank:issue-71252, r=compiler-e…
…rrors Detect when method call on argument could be removed to fulfill failed trait bound When encountering ```rust struct Foo; struct Bar; impl From<Bar> for Foo { fn from(_: Bar) -> Self { Foo } } fn qux(_: impl From<Bar>) {} fn main() { qux(Bar.into()); } ``` Suggest removing `.into()`: ``` error[E0283]: type annotations needed --> f100.rs:8:13 | 8 | qux(Bar.into()); | --- ^^^^ | | | required by a bound introduced by this call | = note: cannot satisfy `_: From<Bar>` note: required by a bound in `qux` --> f100.rs:6:16 | 6 | fn qux(_: impl From<Bar>) {} | ^^^^^^^^^ required by this bound in `qux` help: try using a fully qualified path to specify the expected types | 8 | qux(<Bar as Into<T>>::into(Bar)); | +++++++++++++++++++++++ ~ help: consider removing this method call, as the receiver has type `Bar` and `Bar: From<Bar>` trivially holds | 8 - qux(Bar.into()); 8 + qux(Bar); | ``` Fix rust-lang#71252
Configuration menu - View commit details
-
Copy full SHA for 72997ad - Browse repository at this point
Copy the full SHA 72997adView commit details