-
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 #96073
Rollup of 8 pull requests #96073
Commits on Mar 16, 2022
-
Configuration menu - View commit details
-
Copy full SHA for f427698 - Browse repository at this point
Copy the full SHA f427698View commit details
Commits on Mar 24, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 9cfdb89 - Browse repository at this point
Copy the full SHA 9cfdb89View commit details -
Configuration menu - View commit details
-
Copy full SHA for c681a88 - Browse repository at this point
Copy the full SHA c681a88View commit details -
Configuration menu - View commit details
-
Copy full SHA for 147e5da - Browse repository at this point
Copy the full SHA 147e5daView commit details
Commits on Mar 26, 2022
-
Stablize
const_extern_fn
for "Rust" and "C"All other ABIs are left unstable for now. cc rust-lang#64926
Configuration menu - View commit details
-
Copy full SHA for 8035796 - Browse repository at this point
Copy the full SHA 8035796View commit details
Commits on Apr 2, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 6b75406 - Browse repository at this point
Copy the full SHA 6b75406View commit details
Commits on Apr 7, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 7bd22e2 - Browse repository at this point
Copy the full SHA 7bd22e2View commit details
Commits on Apr 8, 2022
-
Configuration menu - View commit details
-
Copy full SHA for abf2b4c - Browse repository at this point
Copy the full SHA abf2b4cView commit details -
Configuration menu - View commit details
-
Copy full SHA for a3dd654 - Browse repository at this point
Copy the full SHA a3dd654View commit details
Commits on Apr 13, 2022
-
Fix
x test --doc --stage 0 library/std
I managed to break this in rust-lang#95449. I am not quite sure why this is the correct fix, but it doesn't break `doc --stage 0` and is strictly closer to the previous behavior. Previously, rustdoc would error with strange issues because of the mismatched sysroot: ``` error[E0460]: found possibly newer version of crate `std` which `rustc_span` depends on --> /home/jnelson/rust-lang/rust/compiler/rustc_lint_defs/src/lib.rs:14:5 | 14 | use rustc_span::{sym, symbol::Ident, Span, Symbol}; | ^^^^^^^^^^ | = note: perhaps that crate needs to be recompiled? = note: the following crate versions were found: crate `std`: /home/jnelson/rust-lang/rust/build/x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-ff9290e971253a38.rlib crate `std`: /home/jnelson/rust-lang/rust/build/x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-ff9290e971253a38.so crate `rustc_span`: /home/jnelson/rust-lang/rust/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/librustc_span-ed11dce30c1766f9.rlib ```
Configuration menu - View commit details
-
Copy full SHA for 69de213 - Browse repository at this point
Copy the full SHA 69de213View commit details
Commits on Apr 14, 2022
-
Configuration menu - View commit details
-
Copy full SHA for c20bb1d - Browse repository at this point
Copy the full SHA c20bb1dView commit details
Commits on Apr 15, 2022
-
Rollup merge of rust-lang#93969 - bjorn3:codegen_backend_dep_info, r=…
…pnkfelix Only add codegen backend to dep info if -Zbinary-dep-depinfo is used I am currently migrating the cg_clif build system from using a binary linked to the codegen backend as rustc replacement to passing `-Zcodegen-backend` instead. Without this PR this would force cargo to rebuild the sysroot on any change to the codegen backend even if I explicitly specify that I want it to be preserved, which would make development of cg_clif a lot slower. If you still want to have changes to the codegen backend invalidate the cargo build cache you can explicitly specify `-Zbinary-dep-depinfo`. cc ``@eddyb`` as the codegen backend was initially added to the depinfo for rust-gpu.
Configuration menu - View commit details
-
Copy full SHA for 81c26e4 - Browse repository at this point
Copy the full SHA 81c26e4View commit details -
Rollup merge of rust-lang#94457 - jhpratt:stabilize-derive_default_en…
…um, r=davidtwco Stabilize `derive_default_enum` This stabilizes `#![feature(derive_default_enum)]`, as proposed in [RFC 3107](rust-lang/rfcs#3107) and tracked in rust-lang#87517. In short, it permits you to `#[derive(Default)]` on `enum`s, indicating what the default should be by placing a `#[default]` attribute on the desired variant (which must be a unit variant in the interest of forward compatibility). ``````@rustbot`````` label +S-waiting-on-review +T-lang
Configuration menu - View commit details
-
Copy full SHA for 32a66fc - Browse repository at this point
Copy the full SHA 32a66fcView commit details -
Rollup merge of rust-lang#94461 - jhpratt:2024-edition, r=pnkfelix
Create (unstable) 2024 edition [On Zulip](https://rust-lang.zulipchat.com/#narrow/stream/213817-t-lang/topic/Deprecating.20macro.20scoping.20shenanigans/near/272860652), there was a small aside regarding creating the 2024 edition now as opposed to later. There was a reasonable amount of support and no stated opposition. This change creates the 2024 edition in the compiler and creates a prelude for the 2024 edition. There is no current difference between the 2021 and 2024 editions. Cargo and other tools will need to be updated separately, as it's not in the same repository. This change permits the vast majority of work towards the next edition to proceed _now_ instead of waiting until 2024. For sanity purposes, I've merged the "hello" UI tests into a single file with multiple revisions. Otherwise we'd end up with a file per edition, despite them being essentially identical. ```@rustbot``` label +T-lang +S-waiting-on-review Not sure on the relevant team, to be honest.
Configuration menu - View commit details
-
Copy full SHA for 405766d - Browse repository at this point
Copy the full SHA 405766dView commit details -
Rollup merge of rust-lang#94849 - ouz-a:master4, r=oli-obk
Check var scope if it exist Fixes rust-lang#92893. Added helper function to check the scope of a variable, if it doesn't have a scope call delay_span_bug, which avoids us trying to get a block/scope that doesn't exist. Had to increase `ROOT_ENTRY_LIMIT` was getting tidy error
Configuration menu - View commit details
-
Copy full SHA for 9ff6d66 - Browse repository at this point
Copy the full SHA 9ff6d66View commit details -
Rollup merge of rust-lang#94985 - dtolnay:constattr, r=pnkfelix
Parse inner attributes on inline const block According to rust-lang#84414 (comment), inner attributes are intended to be supported *"in all containers for statements (or some subset of statements)"*. This PR adds inner attribute parsing and pretty-printing for inline const blocks (rust-lang#76001), which contain statements just like an unsafe block or a loop body. ```rust let _ = const { #![allow(...)] let x = (); x }; ```
Configuration menu - View commit details
-
Copy full SHA for dda2112 - Browse repository at this point
Copy the full SHA dda2112View commit details -
Rollup merge of rust-lang#95346 - Aaron1011:stablize-const-extern-fn,…
… r=pnkfelix Stablize `const_extern_fn` for "Rust" and "C" All other ABIs are left unstable for now. cc rust-lang#64926
Configuration menu - View commit details
-
Copy full SHA for 0190a68 - Browse repository at this point
Copy the full SHA 0190a68View commit details -
Rollup merge of rust-lang#95749 - compiler-errors:ambig, r=oli-obk
only downgrade selection Error -> Ambiguous if type error is in predicate That is, we don't care if there's a TypeError type in the ParamEnv. Fixes rust-lang#95408
Configuration menu - View commit details
-
Copy full SHA for 33e7edc - Browse repository at this point
Copy the full SHA 33e7edcView commit details -
Rollup merge of rust-lang#95993 - jyn514:fix-stage0-doctests, r=Mark-…
…Simulacrum Fix `x test --doc --stage 0 library/std` I managed to break this in rust-lang#95449. I am not quite sure why this is the correct fix, but it doesn't break `doc --stage 0` and is strictly closer to the previous behavior. Previously, rustdoc would error with strange issues because of the mismatched sysroot: ``` error[E0460]: found possibly newer version of crate `std` which `rustc_span` depends on --> /home/jnelson/rust-lang/rust/compiler/rustc_lint_defs/src/lib.rs:14:5 | 14 | use rustc_span::{sym, symbol::Ident, Span, Symbol}; | ^^^^^^^^^^ | = note: perhaps that crate needs to be recompiled? = note: the following crate versions were found: crate `std`: /home/jnelson/rust-lang/rust/build/x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-ff9290e971253a38.rlib crate `std`: /home/jnelson/rust-lang/rust/build/x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-ff9290e971253a38.so crate `rustc_span`: /home/jnelson/rust-lang/rust/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/librustc_span-ed11dce30c1766f9.rlib ```
Configuration menu - View commit details
-
Copy full SHA for ced4156 - Browse repository at this point
Copy the full SHA ced4156View commit details