Skip to content

Commit dfb1035

Browse files
committed
Auto merge of rust-lang#3165 - rust-lang:rustup-2023-11-15, r=RalfJung
Automatic Rustup
2 parents b8fd88e + 3f8d154 commit dfb1035

File tree

180 files changed

+15859
-3017
lines changed

Some content is hidden

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

180 files changed

+15859
-3017
lines changed

.github/workflows/autopublish.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ jobs:
1919
with:
2020
fetch-depth: 0
2121

22+
# https://github.com/jlumbroso/free-disk-space/blob/main/action.yml
23+
- name: Free up some disk space
24+
run: sudo rm -rf /usr/local/lib/android /usr/share/dotnet /opt/ghc /usr/local/.ghcup
25+
2226
- name: Install Rust toolchain
2327
run: rustup update --no-self-update stable
2428

.github/workflows/ci.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ on:
88
branches:
99
- auto
1010
- try
11+
- automation/bors/try
1112

1213
env:
1314
CARGO_INCREMENTAL: 0
@@ -84,6 +85,7 @@ jobs:
8485
run: cargo build --quiet ${{ env.USE_SYSROOT_ABI }}
8586

8687
- name: Test
88+
if: matrix.os == 'ubuntu-latest' || github.event_name == 'push'
8789
run: cargo test ${{ env.USE_SYSROOT_ABI }} -- --nocapture --quiet
8890

8991
- name: Switch to stable toolchain

.github/workflows/metrics.yaml

+6-3
Original file line numberDiff line numberDiff line change
@@ -140,11 +140,14 @@ jobs:
140140

141141
- name: Combine json
142142
run: |
143-
git clone --depth 1 https://[email protected]/rust-analyzer/metrics.git
143+
mkdir ~/.ssh
144+
echo "${{ secrets.METRICS_DEPLOY_KEY }}" > ~/.ssh/id_ed25519
145+
chmod 600 ~/.ssh/id_ed25519
146+
chmod 700 ~/.ssh
147+
148+
git clone --depth 1 [email protected]:rust-analyzer/metrics.git
144149
jq -s ".[0] * .[1] * .[2] * .[3] * .[4] * .[5]" build.json self.json ripgrep-13.0.0.json webrender-2022.json diesel-1.4.8.json hyper-0.14.18.json -c >> metrics/metrics.json
145150
cd metrics
146151
git add .
147152
git -c user.name=Bot -c [email protected] commit --message 📈
148153
git push origin master
149-
env:
150-
METRICS_TOKEN: ${{ secrets.METRICS_TOKEN }}

Cargo.lock

+71-58
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+4-8
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ toolchain = { path = "./crates/toolchain", version = "0.0.0" }
7979
tt = { path = "./crates/tt", version = "0.0.0" }
8080
vfs-notify = { path = "./crates/vfs-notify", version = "0.0.0" }
8181
vfs = { path = "./crates/vfs", version = "0.0.0" }
82+
rustc-dependencies = { path = "./crates/rustc-dependencies", version = "0.0.0" }
8283

8384
# local crates that aren't published to crates.io. These should not have versions.
8485
proc-macro-test = { path = "./crates/proc-macro-test" }
@@ -101,11 +102,6 @@ serde = { version = "1.0.156", features = ["derive"] }
101102
serde_json = "1.0.96"
102103
triomphe = { version = "0.1.8", default-features = false, features = ["std"] }
103104
# can't upgrade due to dashmap depending on 0.12.3 currently
104-
hashbrown = { version = "0.12.3", features = ["inline-more"], default-features = false }
105-
106-
rustc_lexer = { version = "0.10.0", package = "ra-ap-rustc_lexer" }
107-
rustc_parse_format = { version = "0.10.0", package = "ra-ap-rustc_parse_format", default-features = false }
108-
109-
# Upstream broke this for us so we can't update it
110-
rustc_abi = { version = "0.0.20221221", package = "hkalbasi-rustc-ap-rustc_abi", default-features = false }
111-
rustc_index = { version = "0.0.20221221", package = "hkalbasi-rustc-ap-rustc_index", default-features = false }
105+
hashbrown = { version = "0.12.3", features = [
106+
"inline-more",
107+
], default-features = false }

crates/base-db/src/input.rs

+1
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,7 @@ pub trait ProcMacroExpander: fmt::Debug + Send + Sync + RefUnwindSafe {
257257
) -> Result<Subtree, ProcMacroExpansionError>;
258258
}
259259

260+
#[derive(Debug)]
260261
pub enum ProcMacroExpansionError {
261262
Panic(String),
262263
/// Things like "proc macro server was killed by OOM".

crates/base-db/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ pub trait SourceDatabase: FileLoader + std::fmt::Debug {
7575
#[salsa::input]
7676
fn crate_graph(&self) -> Arc<CrateGraph>;
7777

78-
/// The crate graph.
78+
/// The proc macros.
7979
#[salsa::input]
8080
fn proc_macros(&self) -> Arc<ProcMacros>;
8181
}

0 commit comments

Comments
 (0)