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

Bug: parsing target 'aarch64-pc-windows-gnullvm' failed: unknown target triple: aarch64-pc-windows-gnullvm #2181

Closed
jmfiaschi opened this issue Nov 24, 2022 · 5 comments
Labels
question Further information is requested

Comments

@jmfiaschi
Copy link

Which crate is this about?

windows-sys

Crate version

0.42

Summary

Hello,

I'm using semantic-release-rust and it check the dependancy graph during the verify condition phase. During the check, this error is raised

Unable to build workspace dependencies graph: Unable to parse the workspace structure starting at *******\Cargo.toml
Error: Unable to parse the workspace structure starting at ******\Cargo.toml

Caused by:
    Error while computing 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: aarch64-pc-windows-gnullvm

Example of the error : https://github.com/jmfiaschi/chewdata/actions/runs/3536503428/jobs/5935913967#step:5:43

do you have any idea ? thx

Toolchain version/configuration

Same error in local:

Default host: x86_64-pc-windows-msvc
rustup home: *******.rustup

installed toolchains

stable-x86_64-pc-windows-gnu (default)
stable-x86_64-pc-windows-msvc

installed targets for active toolchain

x86_64-apple-darwin
x86_64-pc-windows-gnu

active toolchain

stable-x86_64-pc-windows-gnu (default)
rustc 1.65.0 (897e37553 2022-11-02)

Reproducible example

No response

Crate manifest

No response

Expected behavior

No response

Actual behavior

No response

Additional comments

No response

@jmfiaschi jmfiaschi added the bug Something isn't working label Nov 24, 2022
@kennykerr
Copy link
Collaborator

I'm not familiar with semantic-release-rust or what it's trying to do. I will note that aarch64-pc-windows-gnullvm is a tier 3 target so perhaps that tool doesn't yet support it.

https://doc.rust-lang.org/rustc/platform-support/pc-windows-gnullvm.html

@kennykerr kennykerr added question Further information is requested and removed bug Something isn't working labels Nov 24, 2022
@jmfiaschi
Copy link
Author

Finally I removed semantic-release-rust and use the standard rust cli command to to the same thing. Thank you for your feedback, I close the issue

@EricCrosson
Copy link

@jmfiaschi, do you happen to have an example of using the rust cli with semantic-release instead of semantic-release-rust?

@jmfiaschi
Copy link
Author

Yes, I use cargo-edit in order to setup the version of my Cargo.toml and you need this :

If it could help you

@EricCrosson
Copy link

Great! Thank you for the pointers 🙏

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

No branches or pull requests

3 participants