Skip to content

Commit 9d5b13e

Browse files
committed
Replace tempdir by tempfile in librustc
This removes the last dependency on tempdir.
1 parent 677eeaa commit 9d5b13e

File tree

2 files changed

+2
-14
lines changed

2 files changed

+2
-14
lines changed

src/Cargo.lock

+1-11
Original file line numberDiff line numberDiff line change
@@ -1800,7 +1800,7 @@ dependencies = [
18001800
"serialize 0.0.0",
18011801
"syntax 0.0.0",
18021802
"syntax_pos 0.0.0",
1803-
"tempdir 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)",
1803+
"tempfile 3.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
18041804
]
18051805

18061806
[[package]]
@@ -2831,15 +2831,6 @@ dependencies = [
28312831
"xattr 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
28322832
]
28332833

2834-
[[package]]
2835-
name = "tempdir"
2836-
version = "0.3.7"
2837-
source = "registry+https://github.com/rust-lang/crates.io-index"
2838-
dependencies = [
2839-
"rand 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)",
2840-
"remove_dir_all 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)",
2841-
]
2842-
28432834
[[package]]
28442835
name = "tempfile"
28452836
version = "3.0.2"
@@ -3380,7 +3371,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
33803371
"checksum syntex_pos 0.52.0 (registry+https://github.com/rust-lang/crates.io-index)" = "955ef4b16af4c468e4680d1497f873ff288f557d338180649e18f915af5e15ac"
33813372
"checksum syntex_syntax 0.52.0 (registry+https://github.com/rust-lang/crates.io-index)" = "76a302e717e348aa372ff577791c3832395650073b8d8432f8b3cb170b34afde"
33823373
"checksum tar 0.4.15 (registry+https://github.com/rust-lang/crates.io-index)" = "6af6b94659f9a571bf769a5b71f54079393585ee0bfdd71b691be22d7d6b1d18"
3383-
"checksum tempdir 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)" = "15f2b5fb00ccdf689e0149d1b1b3c03fead81c2b37735d812fa8bddbbf41b6d8"
33843374
"checksum tempfile 3.0.2 (registry+https://github.com/rust-lang/crates.io-index)" = "47776f63b85777d984a50ce49d6b9e58826b6a3766a449fc95bc66cd5663c15b"
33853375
"checksum tendril 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "9de21546595a0873061940d994bbbc5c35f024ae4fd61ec5c5b159115684f508"
33863376
"checksum term 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)" = "fa63644f74ce96fbeb9b794f66aff2a52d601cbd5e80f4b97123e3899f4570f1"

src/librustc/Cargo.toml

+1-3
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,4 @@ chalk-engine = { version = "0.6.0", default-features=false }
6161
# later crate stop compiling. If you can remove this and everything
6262
# compiles, then please feel free to do so!
6363
flate2 = "1.0"
64-
tempdir = "0.3"
65-
66-
64+
tempfile = "3.0"

0 commit comments

Comments
 (0)