Skip to content

VxWorks needs a newer version of cc-rs #66232

Closed

Description

@BaoshanPang

Do we have plan to get rid of this restriction recently? A newer version of cc-rs is needed for VxWorks

cc = "=1.0.37"

Activity

  1. ehuss commented on Nov 9, 2019

    @ehuss
    Contributor

    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.

  2. BaoshanPang commented on Nov 9, 2019

    @BaoshanPang
    ContributorAuthor

    @ehuss
    Thanks for working on this issue. Enjoy your weekend, it is not that urgent.

  3. added a commit that references this issue on Nov 15, 2019
    fd84f03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions