Change:
Do we have plan to get rid of this restriction recently? A newer version of cc-rs is needed for VxWorks
can't currently be updated due to a build problem with riscv. More info at I think the issue is that rustbuild uses cc to discover cc toolchains, and gained riscv support, and so now it thinks it should use a gcc toolchain that doesn't exist. The detection is in and Alex mentioned just setting a env var in the riscv container might be enough. It's been on my todo list for a while, but I haven't had a chance to look at it. I can maybe try to look at it this weekend.
Thanks for working on this issue. Enjoy your weekend, it is not that urgent.

Discussion:
[[package]] name = "cc" <del> version = "1.0.37" </del> <ins> version = "1.0.47" </ins> source = "registry+https://github.com/rust-lang/crates.io-index" <del> checksum = "39f75544d7bbaf57560d2168f28fd649ff9c76153874db88bdbdfd839b1a7e7d" </del> <ins> checksum = "aa87058dce70a3ff5621797f1506cb837edd02ac4c0ae642b4542dce802908b8" dependencies = [ "jobserver", "num_cpus", ] </ins> [[package]] name = "cfg-if"

[[package]] name = "git2" <del> version = "0.10.0" </del> <ins> version = "0.10.1" </ins> source = "registry+https://github.com/rust-lang/crates.io-index" <del> checksum = "327d698f86a7ebdfeb86a4238ccdb004828939d3a3555b6ead679541d14e36c0" </del> <ins> checksum = "39f27186fbb5ec67ece9a56990292bc5aed3c3fc51b9b07b0b52446b1dfb4a82" </ins> dependencies = [ "bitflags", "libc",

[[package]] name = "libgit2-sys" <del> version = "0.9.0" </del> <ins> version = "0.9.1" </ins> source = "registry+https://github.com/rust-lang/crates.io-index" <del> checksum = "8c2078aec6f4b16d1b89f6a72e4f6eb1e75ffa85312023291e89c6d3087bc8fb" </del> <ins> checksum = "a30f8637eb59616ee3b8a00f6adff781ee4ddd8343a615b8238de756060cc1b3" </ins> dependencies = [ "cc", "libc",

[[package]] name = "num_cpus" <del> version = "1.8.0" </del> <ins> version = "1.10.1" </ins> source = "registry+https://github.com/rust-lang/crates.io-index" <del> checksum = "c51a3322e4bca9d212ad9a158a02abc6934d005490c054a2778df73a70aa0a30" </del> <ins> checksum = "bcef43580c035376c0705c42792c294b66974abbfd2789b511784023f71f3273" </ins> dependencies = [ "libc", ]

"backtrace", "bitflags", "byteorder", <del> "cc", </del> "chalk-engine", "fmt_macros", "graphviz",

ENV TARGETS=$TARGETS,armv7r-none-eabihf ENV TARGETS=$TARGETS,thumbv7neon-unknown-linux-gnueabihf <ins> # riscv targets currently do not need a C compiler, as compiler_builtins # doesn't currently have it enabled, and the riscv gcc compiler is not # installed. </ins> ENV CC_mipsel_unknown_linux_musl=mipsel-openwrt-linux-gcc  CC_mips_unknown_linux_musl=mips-openwrt-linux-gcc  CC_mips64el_unknown_linux_muslabi64=mips64el-linux-gnuabi64-gcc 

CC_x86_64_unknown_redox=x86_64-unknown-redox-gcc  CC_thumbv7neon_unknown_linux_gnueabihf=arm-linux-gnueabihf-gcc  AR_thumbv7neon_unknown_linux_gnueabihf=arm-linux-gnueabihf-ar  <del> CXX_thumbv7neon_unknown_linux_gnueabihf=arm-linux-gnueabihf-g++ </del> <ins> CXX_thumbv7neon_unknown_linux_gnueabihf=arm-linux-gnueabihf-g++  CC_riscv32i_unknown_none_elf=false  CC_riscv32imc_unknown_none_elf=false  CC_riscv32imac_unknown_none_elf=false  CC_riscv64imac_unknown_none_elf=false  CC_riscv64gc_unknown_none_elf=false </ins> ENV RUST_CONFIGURE_ARGS  --musl-root-armv5te=/musl-armv5te 

doctest = false [dependencies] <del> # Prevent cc from upgrading all the way to 1.0.46, # which fails the build (see e.g. #65445.) cc = "=1.0.37" </del> arena = { path = "../libarena" } bitflags = "1.2.1" fmt_macros = { path = "../libfmt_macros" }