-
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 #120671
Rollup of 8 pull requests #120671
Commits on Jul 18, 2023
-
Configuration menu - View commit details
-
Copy full SHA for fbaa7fc - Browse repository at this point
Copy the full SHA fbaa7fcView commit details
Commits on Aug 29, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 3f1ad47 - Browse repository at this point
Copy the full SHA 3f1ad47View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1da87ee - Browse repository at this point
Copy the full SHA 1da87eeView commit details
Commits on Dec 26, 2023
-
Configuration menu - View commit details
-
Copy full SHA for a63880c - Browse repository at this point
Copy the full SHA a63880cView commit details -
PartialOrd: transitivity and duality are required only if the corresp…
…onding impls exist
Configuration menu - View commit details
-
Copy full SHA for 3e389ef - Browse repository at this point
Copy the full SHA 3e389efView commit details -
Configuration menu - View commit details
-
Copy full SHA for baaf6d7 - Browse repository at this point
Copy the full SHA baaf6d7View commit details
Commits on Jan 20, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 60a0819 - Browse repository at this point
Copy the full SHA 60a0819View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0cb5e2f - Browse repository at this point
Copy the full SHA 0cb5e2fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 232cc2b - Browse repository at this point
Copy the full SHA 232cc2bView commit details -
feat: add try_waker and From<&mut Context> for ContextBuilder to allo…
…w the extention of contexts by futures
Configuration menu - View commit details
-
Copy full SHA for 403718b - Browse repository at this point
Copy the full SHA 403718bView commit details -
fix: make LocalWake available in targets that don't support atomics b…
…y removing a #[cfg(target_has_atomic = ptr)]
Configuration menu - View commit details
-
Copy full SHA for 2012d4b - Browse repository at this point
Copy the full SHA 2012d4bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0cb7a0a - Browse repository at this point
Copy the full SHA 0cb7a0aView commit details -
Configuration menu - View commit details
-
Copy full SHA for f824373 - Browse repository at this point
Copy the full SHA f824373View commit details -
Configuration menu - View commit details
-
Copy full SHA for 093f80b - Browse repository at this point
Copy the full SHA 093f80bView commit details -
Configuration menu - View commit details
-
Copy full SHA for ad28f75 - Browse repository at this point
Copy the full SHA ad28f75View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3e373f5 - Browse repository at this point
Copy the full SHA 3e373f5View commit details -
Configuration menu - View commit details
-
Copy full SHA for a8e71f2 - Browse repository at this point
Copy the full SHA a8e71f2View commit details -
fix: Apply suggestions from code review
Co-authored-by: Mark Rousskov <mark.simulacrum@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for c67a446 - Browse repository at this point
Copy the full SHA c67a446View commit details -
Configuration menu - View commit details
-
Copy full SHA for eccb5e7 - Browse repository at this point
Copy the full SHA eccb5e7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7c6a9cb - Browse repository at this point
Copy the full SHA 7c6a9cbView commit details -
refactor: make waker mandatory.
This also removes * impl From<&Context> for ContextBuilder * Context::try_waker() The from implementation is removed because now that wakers are always supported, there are less incentives to override the current context. Before, the incentive was to add Waker support to a reactor that didn't have any.
Configuration menu - View commit details
-
Copy full SHA for 038c6e0 - Browse repository at this point
Copy the full SHA 038c6e0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 180c68b - Browse repository at this point
Copy the full SHA 180c68bView commit details
Commits on Jan 26, 2024
-
Configuration menu - View commit details
-
Copy full SHA for cda3588 - Browse repository at this point
Copy the full SHA cda3588View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1254ee4 - Browse repository at this point
Copy the full SHA 1254ee4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9f14fc4 - Browse repository at this point
Copy the full SHA 9f14fc4View commit details -
Use
<T, U>
for array/slice equalityimpl
sMakes the trait implementation documentation for arrays and slices appear more consistent.
Configuration menu - View commit details
-
Copy full SHA for 3f3a153 - Browse repository at this point
Copy the full SHA 3f3a153View commit details
Commits on Jan 31, 2024
-
riscv only supports split_debuginfo=off for now
Disable packed/unpacked options for riscv linux/android. Other riscv targets already only have the off option. The packed/unpacked options might be supported in the future. See upstream issue for more details: llvm/llvm-project#56642 Fixes rust-lang#110224
Configuration menu - View commit details
-
Copy full SHA for 471af8c - Browse repository at this point
Copy the full SHA 471af8cView commit details
Commits on Feb 2, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 61d1ebe - Browse repository at this point
Copy the full SHA 61d1ebeView commit details
Commits on Feb 5, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 8266657 - Browse repository at this point
Copy the full SHA 8266657View commit details -
target: default to the medium code model on LoongArch targets
The Rust LoongArch targets have been using the default LLVM code model so far, which is "small" in LLVM-speak and "normal" in LoongArch-speak. As described in the "Code Model" section of LoongArch ELF psABI spec v20231219 [1], one can only make function calls as far as ±128MiB with the "normal" code model; this is insufficient for very large software containing Rust components that needs to be linked into the big text section, such as Chromium. Because: * we do not want to ask users to recompile std if they are to build such software, * objects compiled with larger code models can be linked with those with smaller code models without problems, and * the "medium" code model is comparable to the "small"/"normal" one performance-wise (same data access pattern; each function call becomes 2-insn long and indirect, but this may be relaxed back into the direct 1-insn form in a future LLVM version), but is able to perform function calls within ±128GiB, it is better to just switch the targets to the "medium" code model, which is also "medium" in LLVM-speak. [1]: https://github.com/loongson/la-abi-specs/blob/v2.30/laelf.adoc#code-models
Configuration menu - View commit details
-
Copy full SHA for 35dad14 - Browse repository at this point
Copy the full SHA 35dad14View commit details -
Rollup merge of rust-lang#113833 - WiktorPrzetacznik:master, r=dtolnay
`std::error::Error` -> Trait Implementations: lifetimes consistency improvement This cleans up `std::error::Error` trait implementations lifetime inconsistency (`'static` -> `'a`) **Reasoning:** Trait implementations for `std::error::Error`, like: `impl From<&str> for Box<dyn Error + 'static, Global>` `impl<'a> From<&str> for Box<dyn Error + Sync + Send + 'a, Global>` use different lifetime annotations misleadingly implying using different life annotations here is a conscious, nonaccidental decision. [(Related forum discussion here)](https://users.rust-lang.org/t/confusing-std-error-source-code/97011/5?u=wiktor)
Configuration menu - View commit details
-
Copy full SHA for 13e84f2 - Browse repository at this point
Copy the full SHA 13e84f2View commit details -
Rollup merge of rust-lang#115386 - RalfJung:partial-eq-chain, r=dtolnay
PartialEq, PartialOrd: update and synchronize handling of transitive chains It was brought up in https://internals.rust-lang.org/t/total-equality-relations-as-std-eq-rhs/19232 that we currently have a gap in our `PartialEq` rules, which this PR aims to close: > For example, with PartialEq's conditions you may have a = b = c = d ≠ a (where a and c are of type A, b and d are of type B). The second commit fixes rust-lang#87067 by updating PartialOrd to handle the requirements the same way PartialEq does.
Configuration menu - View commit details
-
Copy full SHA for fd8ea25 - Browse repository at this point
Copy the full SHA fd8ea25View commit details -
Rollup merge of rust-lang#116284 - RalfJung:no-nan-match, r=cjgillot
make matching on NaN a hard error, and remove the rest of illegal_floating_point_literal_pattern These arms would never be hit anyway, so the pattern makes little sense. We have had a future-compat lint against float matches in general for a *long* time, so I hope we can get away with immediately making this a hard error. This is part of implementing rust-lang/rfcs#3535. Closes rust-lang#41620 by removing the lint. rust-lang/reference#1456 updates the reference to match.
Configuration menu - View commit details
-
Copy full SHA for ed27148 - Browse repository at this point
Copy the full SHA ed27148View commit details -
Rollup merge of rust-lang#118960 - tvallotton:local_waker, r=Mark-Sim…
…ulacrum Add LocalWaker and ContextBuilder types to core, and LocalWake trait to alloc. Implementation for rust-lang#118959.
Configuration menu - View commit details
-
Copy full SHA for 80e8c7e - Browse repository at this point
Copy the full SHA 80e8c7eView commit details -
Rollup merge of rust-lang#120384 - wackbyte:array-equality-generics, …
…r=Mark-Simulacrum Use `<T, U>` for array/slice equality `impl`s Makes the trait implementation documentation for arrays and slices appear more consistent. [Example](https://doc.rust-lang.org/1.75.0/std/primitive.array.html): mixed `A`, `B`, and `U`. ![List of PartialEq implementations for arrays](https://github.com/wackbyte/rust/assets/29505620/823c010e-ee57-4de1-885b-a1cd6dcaf85f) This change makes them all `U`.
Configuration menu - View commit details
-
Copy full SHA for 2624bfb - Browse repository at this point
Copy the full SHA 2624bfbView commit details -
Rollup merge of rust-lang#120518 - kxxt:riscv-split-debug-info, r=com…
…piler-errors riscv only supports split_debuginfo=off for now Disable packed/unpacked options for riscv linux/android. Other riscv targets already only have the off option. The packed/unpacked options might be supported in the future. See upstream issue for more details: llvm/llvm-project#56642 Fixes rust-lang#110224
Configuration menu - View commit details
-
Copy full SHA for 540936c - Browse repository at this point
Copy the full SHA 540936cView commit details -
Rollup merge of rust-lang#120657 - mu001999:clean, r=Nilstrieb
Remove unused struct Detected by rust-lang#118257
Configuration menu - View commit details
-
Copy full SHA for 13ea09b - Browse repository at this point
Copy the full SHA 13ea09bView commit details -
Rollup merge of rust-lang#120661 - xen0n:loong-medium-cmodel, r=heihe…
…r,Nilstrieb target: default to the medium code model on LoongArch targets The Rust LoongArch targets have been using the default LLVM code model so far, which is "small" in LLVM-speak and "normal" in LoongArch-speak. As [described][1] in the "Code Model" section of LoongArch ELF psABI spec v20231219, one can only make function calls as far as ±128MiB with the "normal" code model; this is insufficient for very large software containing Rust components that needs to be linked into the big text section, such as Chromium. Because: * we do not want to ask users to recompile std if they are to build such software, * objects compiled with larger code models can be linked with those with smaller code models without problems, and * the "medium" code model is comparable to the "small"/"normal" one performance-wise (same data access pattern; each function call becomes 2-insn long and indirect, but this may be relaxed back into the direct 1-insn form in a future LLVM version), but is able to perform function calls within ±128GiB, it is better to just switch the targets to the "medium" code model, which is also "medium" in LLVM-speak. [1]: https://github.com/loongson/la-abi-specs/blob/v2.30/laelf.adoc#code-models
Configuration menu - View commit details
-
Copy full SHA for dc0b1f9 - Browse repository at this point
Copy the full SHA dc0b1f9View commit details