Skip to content

Selecting compiler specifically for thumbv8m.main-none-eabi and other . containing targets does not work #1540

@datdenkikniet

Description

@datdenkikniet

cc-rs allows users to override the compiler used for a specific target triple by setting the environment variable CC_<triple>, but for targets such as thumv8m.main-none-eabi this doesn't work as .-s are not allowed to be used in the name of an environment variable in (most?) shells, so setting e.g. CC_thumbv8m.main_none_eabi is not allowed.

It would be great if this could be supported, either by replacing the . with an _, or some other solution that allows us to actually set this environment variable.

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