Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error computing package graph windows-targets: unknown target triple: aarch64-pc-windows-gnullvm #19

Open
SeseMueller opened this issue Dec 18, 2023 · 1 comment

Comments

@SeseMueller
Copy link

When dephell is run on a bare-bones crate that has windows-targets, it crashes with the error

Error while computing package graph: for package 'windows-targets 0.52.0 (registry+https://github.com/rust-lang/crates.io-index)': for dependency 'windows_aarch64_gnullvm', parsing target 'aarch64-pc-windows-gnullvm' failed: unknown target triple: aarch64-pc-windows-gnullvm

This might be related to this issue.

Note: the aarch64-pc-windows-gnullvm target is a tier 3 target, but is used in this context even on tier 1, so cargo-dephell shouldn't crash.

How to reproduce:

cargo new test_dephell
cd test_dephell
cargo add windows-targets
cargo build
cargo-dephell -m Cargo.toml -o test.html
@mimoo
Copy link
Owner

mimoo commented Dec 19, 2023

thanks for submitting the issue, if you can think of a fix PRs are welcome :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants