Skip to content

Improve error message on CI when target = MSVC or Darwin and target = host #1447

Open
@Emilgardis

Description

@Emilgardis

With #661, we now error on warnings in CI.

[cross] warning: `cross` does not provide a Docker image for target x86_64-apple-darwin, specify a custom image in `Cross.toml`.
[cross] error: Errors encountered before cross compilation, aborting.
[cross] note: Disable this with `CROSS_NO_WARNINGS=0`

To clear up confusion, we could suggest a fix that just running cargo could work, we can also point to https://github.com/cross-rs/cross-toolchains.

See discussion

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions