Skip to content

cross 0.2.2 hangs forever when CARGO env var set to cross #864

@messense

Description

@messense

Checklist

Describe your issue

cross 0.2.1 works fine when executing with CARGO=cross, but 0.2.2 hangs forever.

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

aarch64-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 0.2.2

Example

0.2.2 broken: https://github.com/PyO3/setuptools-rust/runs/7051863085?check_suite_focus=true

0.2.1 works fine: https://github.com/PyO3/setuptools-rust/runs/7052877232?check_suite_focus=true

Additional information / notes

Local testing shows that it recursively executing cross metadata.

cross rustc --lib --manifest-path Cargo.toml --target aarch64-unknown-linux-gnu --release -v --features pyo3/extension-module -- --crate-type cdylib

image

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions