Skip to content

conflict config with dependency #1619

Open
@ibigbug

Description

Checklist

Describe your issue

I have a Cross.toml for my workspace and today the build is giving error about conflict config from one of the dependencies

[cross] warning: Found conflicting cross configuration in `/home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/getrandom-0.2.15/Cargo.toml`, use `[workspace.metadata.cross]` in the workspace manifest instead.

https://github.com/Watfaq/clash-rs/actions/runs/13025744515/job/36334424027?pr=686

i tried setting the env to disable the warning and the build actually fails so it looks like a real issue.

any idea how to fix the conflict?

What target(s) are you cross-compiling for?

x86_64-unknown-linux-gnu

Which operating system is the host (e.g computer cross is on) running?

  • macOS
  • Windows
  • Linux / BSD
  • other OS (specify in description)

What architecture is the host?

  • x86_64 / AMD64
  • arm32
  • arm64 (including Mac M1)

What container engine is cross using?

  • docker
  • podman
  • other container engine (specify in description)

cross version

cross v0.2.5

Example

No response

Additional information / notes

No response

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