Skip to content

Commit 7b9cee6

Browse files
author
The rustc-josh-sync Cronjob Bot
committed
Merge ref '47cd7120d9b4' from rust-lang/rust
Pull recent changes from https://github.com/rust-lang/rust via Josh. Upstream ref: 47cd7120d9b4e1b64eb27c87522a07888197fae8 Filtered ref: b5a5cb8beb5c1ac848a39bfcd0ccaad98015d017 Upstream diff: rust-lang/rust@caccb4d...47cd712 This merge was created using https://github.com/rust-lang/josh-sync.
2 parents 1b31227 + 71cde14 commit 7b9cee6

File tree

680 files changed

+50689
-34839
lines changed

Some content is hidden

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

680 files changed

+50689
-34839
lines changed

.github/workflows/ci.yaml

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ env:
1616
CI: 1
1717
RUST_BACKTRACE: short
1818
RUSTUP_MAX_RETRIES: 10
19+
RUSTFLAGS: "-D warnings -W unreachable-pub --cfg no_salsa_async_drops"
1920

2021
defaults:
2122
run:
@@ -41,8 +42,6 @@ jobs:
4142
if: github.repository == 'rust-lang/rust-analyzer'
4243
name: proc-macro-srv
4344
runs-on: ubuntu-latest
44-
env:
45-
RUSTFLAGS: "-D warnings"
4645

4746
steps:
4847
- name: Checkout repository
@@ -56,8 +55,8 @@ jobs:
5655
# Install a pinned rustc commit to avoid surprises
5756
- name: Install Rust toolchain
5857
run: |
59-
RUSTC_VERSION=`cat rust-version`
60-
rustup-toolchain-install-master ${RUSTC_VERSION} -c rust-src -c rustfmt
58+
RUSTC_VERSION=$(cat rust-version)
59+
rustup-toolchain-install-master ${RUSTC_VERSION} -c cargo -c rust-src -c rustfmt
6160
rustup default ${RUSTC_VERSION}
6261
6362
# Emulate a nightly toolchain, because the toolchain installed above does not have "nightly"
@@ -80,7 +79,6 @@ jobs:
8079
name: Rust
8180
runs-on: ${{ matrix.os }}
8281
env:
83-
RUSTFLAGS: "-Dwarnings"
8482
CC: deny_c
8583

8684
strategy:
@@ -98,9 +96,9 @@ jobs:
9896
run: |
9997
rustup update --no-self-update stable
10098
rustup default stable
101-
rustup component add --toolchain stable rust-src clippy
102-
# We always use a nightly rustfmt, regardless of channel, because we need
103-
# --file-lines.
99+
rustup component add --toolchain stable rust-src clippy rustfmt
100+
# We also install a nightly rustfmt, because we use `--file-lines` in
101+
# a test.
104102
rustup toolchain install nightly --profile minimal --component rustfmt
105103
# https://github.com/actions-rust-lang/setup-rust-toolchain/blob/main/rust.json
106104
- name: Install Rust Problem Matcher
@@ -207,8 +205,6 @@ jobs:
207205
# crate should
208206
- target: wasm32-unknown-unknown
209207
ide-only: true
210-
env:
211-
RUSTFLAGS: "-Dwarnings"
212208

213209
steps:
214210
- name: Checkout repository
@@ -293,7 +289,7 @@ jobs:
293289
timeout-minutes: 10
294290
env:
295291
FORCE_COLOR: 1
296-
TYPOS_VERSION: v1.28.3
292+
TYPOS_VERSION: v1.38.1
297293
steps:
298294
- name: download typos
299295
run: curl -LsSf https://github.com/crate-ci/typos/releases/download/$TYPOS_VERSION/typos-$TYPOS_VERSION-x86_64-unknown-linux-musl.tar.gz | tar zxf - -C ${CARGO_HOME:-~/.cargo}/bin

.github/workflows/metrics.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
env:
88
CARGO_INCREMENTAL: 0
99
CARGO_NET_RETRY: 10
10-
RUSTFLAGS: "-D warnings -W unreachable-pub"
10+
RUSTFLAGS: "-D warnings -W unreachable-pub --cfg no_salsa_async_drops"
1111
RUSTUP_MAX_RETRIES: 10
1212

1313
jobs:

.github/workflows/release.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ env:
1616
RUSTFLAGS: "-D warnings -W unreachable-pub"
1717
RUSTUP_MAX_RETRIES: 10
1818
FETCH_DEPTH: 0 # pull in the tags for the version string
19-
MACOSX_DEPLOYMENT_TARGET: 13.0
19+
MACOSX_DEPLOYMENT_TARGET: 14.0
2020
ZIG_VERSION: 0.13.0
2121
ZIGBUILD_VERSION: 0.19.8
2222

@@ -52,7 +52,7 @@ jobs:
5252
target: arm-unknown-linux-gnueabihf
5353
zig_target: arm-unknown-linux-gnueabihf.2.28
5454
code-target: linux-armhf
55-
- os: macos-13
55+
- os: macos-14
5656
target: x86_64-apple-darwin
5757
code-target: darwin-x64
5858
pgo: clap-rs/clap@v4.5.36
@@ -140,7 +140,7 @@ jobs:
140140
if: matrix.target == 'x86_64-unknown-linux-gnu'
141141
env:
142142
RUSTC_BOOTSTRAP: 1
143-
run: target/${{ matrix.target }}/release/rust-analyzer analysis-stats --with-deps $(rustc --print sysroot)/lib/rustlib/src/rust/library/std -q
143+
run: target/${{ matrix.target }}/release/rust-analyzer analysis-stats --with-deps --no-sysroot --no-test $(rustc --print sysroot)/lib/rustlib/src/rust/library/std -q
144144

145145
- name: Upload artifacts
146146
uses: actions/upload-artifact@v4

.typos.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ makro = "makro"
3232
trivias = "trivias"
3333
thir = "thir"
3434
jod = "jod"
35+
tructure = "tructure"
36+
taits = "taits"
3537

3638
[default.extend-identifiers]
3739
anc = "anc"

0 commit comments

Comments
 (0)