Skip to content

Conversation

@carols10cents
Copy link
Contributor

What happened

Dependabot tried to upgrade the windows-sys crate to 0.42.0, and cargo hakari generate stopped working with this error:

Error:
   0: building package graph failed
   1: failed to construct package graph: for package 'windows-sys 0.42.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

This can be reproduced with a Cargo.toml containing:

[dependencies]
windows-sys = "0.42.0"

This happens because windows-sys now uses the target aarch64-pc-windows-gnullvm, which was added in Rust 1.62.0.

Version 0.11.0 of cfg-expr supports targets up to Rust 1.64.0 (the README on crates.io says it only supports up to 1.58.0 but that was fixed after the release).

@sunshowers
Copy link
Member

Thank you! And sorry for not getting to this myself, I've been doing a lot of transition work across repositories.

@sunshowers sunshowers merged commit 7d7e159 into guppy-rs:main Sep 29, 2022
@carols10cents carols10cents deleted the update-cfg-expr branch September 30, 2022 14:06
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

Successfully merging this pull request may close these issues.

2 participants