You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cc can't currently be updated due to a build problem with riscv. More info at #65445 (comment). I think the issue is that rustbuild uses cc to discover cc toolchains, and cc-rs gained riscv support, and so now it thinks it should use a gcc toolchain that doesn't exist. The detection is in https://github.com/rust-lang/rust/blob/master/src/bootstrap/cc_detect.rs and Alex mentioned just setting a CC_* 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.
Activity
ehuss commentedon Nov 9, 2019
cccan't currently be updated due to a build problem with riscv. More info at #65445 (comment). I think the issue is that rustbuild uses cc to discover cc toolchains, andcc-rsgained riscv support, and so now it thinks it should use a gcc toolchain that doesn't exist. The detection is in https://github.com/rust-lang/rust/blob/master/src/bootstrap/cc_detect.rs and Alex mentioned just setting aCC_*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.BaoshanPang commentedon Nov 9, 2019
@ehuss
Thanks for working on this issue. Enjoy your weekend, it is not that urgent.
Rollup merge of rust-lang#66255 - ehuss:update-cc, r=alexcrichton