Skip to content

Commit 77d2f0c

Browse files
committed
Add tempfile to [workspace.dependencies].
1 parent ce02d34 commit 77d2f0c

File tree

9 files changed

+9
-8
lines changed

9 files changed

+9
-8
lines changed

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ quote = "1.0.40"
7373
rustc-literal-escaper = "0.0.5"
7474
rustc_apfloat = "0.2.3"
7575
serde_json = "1.0.142"
76+
tempfile = "3.20.0"
7677
thin-vec = "0.2.14"
7778
tracing = "0.1.37"
7879
# tidy-alphabetical-end

compiler/rustc_codegen_ssa/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ rustc_target = { path = "../rustc_target" }
3939
rustc_trait_selection = { path = "../rustc_trait_selection" }
4040
serde_json.workspace = true
4141
smallvec = { version = "1.8.1", features = ["union", "may_dangle"] }
42-
tempfile = "3.2"
42+
tempfile.workspace = true
4343
thin-vec.workspace = true
4444
thorin-dwp = "0.9"
4545
tracing.workspace = true

compiler/rustc_data_structures/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ rustc_serialize = { path = "../rustc_serialize" }
2525
rustc_thread_pool = { path = "../rustc_thread_pool" }
2626
smallvec = { version = "1.8.1", features = ["const_generics", "union", "may_dangle"] }
2727
stacker = "0.1.17"
28-
tempfile = "3.2"
28+
tempfile.workspace = true
2929
thin-vec.workspace = true
3030
tracing.workspace = true
3131
# tidy-alphabetical-end

compiler/rustc_fs_util/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ edition = "2024"
55

66
[dependencies]
77
# tidy-alphabetical-start
8-
tempfile = "3.7.1"
8+
tempfile.workspace = true
99
# tidy-alphabetical-end

compiler/rustc_metadata/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ rustc_serialize = { path = "../rustc_serialize" }
3030
rustc_session = { path = "../rustc_session" }
3131
rustc_span = { path = "../rustc_span" }
3232
rustc_target = { path = "../rustc_target" }
33-
tempfile = "3.7.1"
33+
tempfile.workspace = true
3434
tracing.workspace = true
3535
# tidy-alphabetical-end
3636

compiler/rustc_serialize/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@ thin-vec.workspace = true
1414
[dev-dependencies]
1515
# tidy-alphabetical-start
1616
rustc_macros = { path = "../rustc_macros" }
17-
tempfile = "3.2"
17+
tempfile.workspace = true
1818
# tidy-alphabetical-end

src/librustdoc/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ serde = { version = "1.0", features = ["derive"] }
2222
serde_json.workspace = true
2323
smallvec = "1.8.1"
2424
stringdex = { version = "0.0.1-alpha4" }
25-
tempfile = "3"
25+
tempfile.workspace = true
2626
threadpool = "1.8.1"
2727
tracing-tree = "0.3.0"
2828
tracing.workspace = true

src/tools/lint-docs/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ description = "A script to extract the lint documentation for the rustc book."
99
[dependencies]
1010
rustc-literal-escaper = "0.0.5"
1111
serde_json.workspace = true
12-
tempfile = "3.1.0"
12+
tempfile.workspace = true
1313
walkdir = "2.3.1"

src/tools/opt-dist/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ tar = "0.4"
1717
xz = { version = "0.1", package = "xz2" }
1818
serde_json.workspace = true
1919
glob = "0.3"
20-
tempfile = "3.5"
20+
tempfile.workspace = true
2121
derive_builder = "0.20"
2222
clap = { version = "4", features = ["derive"] }
2323
tabled = { version = "0.15", default-features = false, features = ["std"] }

0 commit comments

Comments
 (0)