Skip to content

Commit a902383

Browse files
committed
Update cc, git2, num_cpus.
1 parent 5a50275 commit a902383

File tree

3 files changed

+21
-14
lines changed

3 files changed

+21
-14
lines changed

Cargo.lock

+12-9
Original file line numberDiff line numberDiff line change
@@ -392,9 +392,13 @@ version = "0.1.0"
392392

393393
[[package]]
394394
name = "cc"
395-
version = "1.0.37"
395+
version = "1.0.47"
396396
source = "registry+https://github.com/rust-lang/crates.io-index"
397-
checksum = "39f75544d7bbaf57560d2168f28fd649ff9c76153874db88bdbdfd839b1a7e7d"
397+
checksum = "aa87058dce70a3ff5621797f1506cb837edd02ac4c0ae642b4542dce802908b8"
398+
dependencies = [
399+
"jobserver",
400+
"num_cpus",
401+
]
398402

399403
[[package]]
400404
name = "cfg-if"
@@ -1216,9 +1220,9 @@ dependencies = [
12161220

12171221
[[package]]
12181222
name = "git2"
1219-
version = "0.10.0"
1223+
version = "0.10.1"
12201224
source = "registry+https://github.com/rust-lang/crates.io-index"
1221-
checksum = "327d698f86a7ebdfeb86a4238ccdb004828939d3a3555b6ead679541d14e36c0"
1225+
checksum = "39f27186fbb5ec67ece9a56990292bc5aed3c3fc51b9b07b0b52446b1dfb4a82"
12221226
dependencies = [
12231227
"bitflags",
12241228
"libc",
@@ -1759,9 +1763,9 @@ dependencies = [
17591763

17601764
[[package]]
17611765
name = "libgit2-sys"
1762-
version = "0.9.0"
1766+
version = "0.9.1"
17631767
source = "registry+https://github.com/rust-lang/crates.io-index"
1764-
checksum = "8c2078aec6f4b16d1b89f6a72e4f6eb1e75ffa85312023291e89c6d3087bc8fb"
1768+
checksum = "a30f8637eb59616ee3b8a00f6adff781ee4ddd8343a615b8238de756060cc1b3"
17651769
dependencies = [
17661770
"cc",
17671771
"libc",
@@ -2222,9 +2226,9 @@ checksum = "0b3a5d7cc97d6d30d8b9bc8fa19bf45349ffe46241e8816f50f62f6d6aaabee1"
22222226

22232227
[[package]]
22242228
name = "num_cpus"
2225-
version = "1.8.0"
2229+
version = "1.10.1"
22262230
source = "registry+https://github.com/rust-lang/crates.io-index"
2227-
checksum = "c51a3322e4bca9d212ad9a158a02abc6934d005490c054a2778df73a70aa0a30"
2231+
checksum = "bcef43580c035376c0705c42792c294b66974abbfd2789b511784023f71f3273"
22282232
dependencies = [
22292233
"libc",
22302234
]
@@ -3114,7 +3118,6 @@ dependencies = [
31143118
"backtrace",
31153119
"bitflags",
31163120
"byteorder",
3117-
"cc",
31183121
"chalk-engine",
31193122
"fmt_macros",
31203123
"graphviz",

src/ci/docker/dist-various-1/Dockerfile

+9-1
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,9 @@ ENV TARGETS=$TARGETS,armv7r-none-eabi
135135
ENV TARGETS=$TARGETS,armv7r-none-eabihf
136136
ENV TARGETS=$TARGETS,thumbv7neon-unknown-linux-gnueabihf
137137

138+
# riscv targets currently do not need a C compiler, as compiler_builtins
139+
# doesn't currently have it enabled, and the riscv gcc compiler is not
140+
# installed.
138141
ENV CC_mipsel_unknown_linux_musl=mipsel-openwrt-linux-gcc \
139142
CC_mips_unknown_linux_musl=mips-openwrt-linux-gcc \
140143
CC_mips64el_unknown_linux_muslabi64=mips64el-linux-gnuabi64-gcc \
@@ -143,7 +146,12 @@ ENV CC_mipsel_unknown_linux_musl=mipsel-openwrt-linux-gcc \
143146
CC_x86_64_unknown_redox=x86_64-unknown-redox-gcc \
144147
CC_thumbv7neon_unknown_linux_gnueabihf=arm-linux-gnueabihf-gcc \
145148
AR_thumbv7neon_unknown_linux_gnueabihf=arm-linux-gnueabihf-ar \
146-
CXX_thumbv7neon_unknown_linux_gnueabihf=arm-linux-gnueabihf-g++
149+
CXX_thumbv7neon_unknown_linux_gnueabihf=arm-linux-gnueabihf-g++ \
150+
CC_riscv32i_unknown_none_elf=false \
151+
CC_riscv32imc_unknown_none_elf=false \
152+
CC_riscv32imac_unknown_none_elf=false \
153+
CC_riscv64imac_unknown_none_elf=false \
154+
CC_riscv64gc_unknown_none_elf=false
147155

148156
ENV RUST_CONFIGURE_ARGS \
149157
--musl-root-armv5te=/musl-armv5te \

src/librustc/Cargo.toml

-4
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,6 @@ path = "lib.rs"
1010
doctest = false
1111

1212
[dependencies]
13-
# Prevent cc from upgrading all the way to 1.0.46,
14-
# which fails the build (see e.g. #65445.)
15-
cc = "=1.0.37"
16-
1713
arena = { path = "../libarena" }
1814
bitflags = "1.2.1"
1915
fmt_macros = { path = "../libfmt_macros" }

0 commit comments

Comments
 (0)