Skip to content

tests/run-make-cargo/thumb-none-cortex-m does not lock Cargo dependencies and can break #160907

Description

@japaric

what the title says. the v1.4.1 release of the cc crate was broken (rust-lang/cc-rs#1844) because it invoked arm-none-eabi-gcc with a -mno-* flag which is specific to clang. v1.4.2 has fix for that bug but this test uses a version of the cortex-m crate that does not lock dependencies so Cargo transiently chose cc v1.4.1 which made the cortex-m build fail.

it would preferable to switch to a newer version of the cortex-m that includes a lockfile. the current version is v0.5.0 from 2018 which was a time when library crates including lockfiles was still not the norm.

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