Skip to content

Build with several targets installed? #864

@Nadrieril

Description

@Nadrieril

Hi! Thanks for this very convenient and reliable project!

I'm writing a rustc driver that analyses rust code. In my test suite, some of the tests pass --target i686-unknown-linux-gnu (or other targets) to my binary. Today this fails in crane because only the host target is available.

I know that crane can cross-compile if I give it the right target on the nix side, but that's not what I need: I want my crate to be compiled for the host as usual, yet have a few extra target toolchains available. Is that possible with crane?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions