Skip to content

Commit 1dc0f6d

Browse files
committed
Auto merge of rust-lang#73326 - Mark-Simulacrum:beta-next, r=ecstatic-morse,Mark-Simulacrum
[beta] backport This is a beta backport rollup of the following: * [beta] Revert heterogeneous SocketAddr PartialEq impls rust-lang#73318 * Fix emcc failure for wasm32. rust-lang#73213 * Revert rust-lang#71956 rust-lang#73153 * [beta] Update cargo rust-lang#73141 * Minor: off-by-one error in RELEASES.md rust-lang#72914 * normalize adt fields during structural match checking rust-lang#72897 * Revert pr 71840 rust-lang#72989 * rust-lang/cargo#8361 * e658200 from rust-lang#72901 r? @ghost
2 parents b7dc83a + 089d28b commit 1dc0f6d

File tree

76 files changed

+2224
-1940
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

76 files changed

+2224
-1940
lines changed

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,7 @@ jobs:
442442
- name: x86_64-msvc-cargo
443443
env:
444444
SCRIPT: python x.py test src/tools/cargotest src/tools/cargo
445-
RUST_CONFIGURE_ARGS: "--build=x86_64-pc-windows-msvc"
445+
RUST_CONFIGURE_ARGS: "--build=x86_64-pc-windows-msvc --enable-lld"
446446
VCVARS_BAT: vcvars64.bat
447447
NO_DEBUG_ASSERTIONS: 1
448448
NO_LLVM_ASSERTIONS: 1

RELEASES.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Libraries
4343
- [Unicode 13 is now supported.][69929]
4444
- [`String` now implements `From<&mut str>`.][69661]
4545
- [`IoSlice` now implements `Copy`.][69403]
46-
- [`Vec<T>` now implements `From<[T; N]>`.][68692] Where `N` is less than 32.
46+
- [`Vec<T>` now implements `From<[T; N]>`.][68692] Where `N` is at most 32.
4747
- [`proc_macro::LexError` now implements `fmt::Display` and `Error`.][68899]
4848
- [`from_le_bytes`, `to_le_bytes`, `from_be_bytes`, `to_be_bytes`,
4949
`from_ne_bytes`, and `to_ne_bytes` methods are now `const` for all

src/ci/azure-pipelines/auto.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ jobs:
148148
INITIAL_RUST_CONFIGURE_ARGS: --build=x86_64-pc-windows-msvc
149149
x86_64-msvc-cargo:
150150
SCRIPT: python x.py test src/tools/cargotest src/tools/cargo
151-
INITIAL_RUST_CONFIGURE_ARGS: --build=x86_64-pc-windows-msvc
151+
INITIAL_RUST_CONFIGURE_ARGS: --build=x86_64-pc-windows-msvc --enable-lld
152152
VCVARS_BAT: vcvars64.bat
153153
# FIXME(#59637)
154154
NO_DEBUG_ASSERTIONS: 1

src/ci/docker/wasm32/Dockerfile

+3
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ ENV PATH=$PATH:/emsdk-portable
2727
ENV PATH=$PATH:/emsdk-portable/upstream/emscripten/
2828
ENV PATH=$PATH:/emsdk-portable/node/12.9.1_64bit/bin/
2929
ENV BINARYEN_ROOT=/emsdk-portable/upstream/
30+
ENV EMSDK=/emsdk-portable
31+
ENV EM_CONFIG=/emsdk-portable/.emscripten
32+
ENV EM_CACHE=/emsdk-portable/upstream/emscripten/cache
3033

3134
ENV TARGETS=wasm32-unknown-emscripten
3235

src/ci/github-actions/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -505,7 +505,7 @@ jobs:
505505
- name: x86_64-msvc-cargo
506506
env:
507507
SCRIPT: python x.py test src/tools/cargotest src/tools/cargo
508-
RUST_CONFIGURE_ARGS: --build=x86_64-pc-windows-msvc
508+
RUST_CONFIGURE_ARGS: --build=x86_64-pc-windows-msvc --enable-lld
509509
VCVARS_BAT: vcvars64.bat
510510
# FIXME(#59637)
511511
NO_DEBUG_ASSERTIONS: 1

src/librustc_mir/dataflow/impls/borrowed_locals.rs

-3
Original file line numberDiff line numberDiff line change
@@ -99,9 +99,6 @@ impl<K> GenKillAnalysis<'tcx> for MaybeBorrowedLocals<K>
9999
where
100100
K: BorrowAnalysisKind<'tcx>,
101101
{
102-
// The generator transform relies on the fact that this analysis does **not** use "before"
103-
// effects.
104-
105102
fn statement_effect(
106103
&self,
107104
trans: &mut impl GenKill<Self::Idx>,

src/librustc_mir/dataflow/impls/init_locals.rs

-118
This file was deleted.

src/librustc_mir/dataflow/impls/mod.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,13 @@ use crate::dataflow::drop_flag_effects;
2222

2323
mod borrowed_locals;
2424
pub(super) mod borrows;
25-
mod init_locals;
2625
mod liveness;
2726
mod storage_liveness;
2827

2928
pub use self::borrowed_locals::{MaybeBorrowedLocals, MaybeMutBorrowedLocals};
3029
pub use self::borrows::Borrows;
31-
pub use self::init_locals::MaybeInitializedLocals;
3230
pub use self::liveness::MaybeLiveLocals;
33-
pub use self::storage_liveness::MaybeStorageLive;
31+
pub use self::storage_liveness::{MaybeRequiresStorage, MaybeStorageLive};
3432

3533
/// `MaybeInitializedPlaces` tracks all places that might be
3634
/// initialized upon reaching a particular point in the control flow

0 commit comments

Comments
 (0)