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

Improve compare_fedora_versions so that it restricts the dependencies it looks for to linux ones #309

Open
mulkieran opened this issue Jun 24, 2022 · 2 comments

Comments

@mulkieran
Copy link
Member

stratisd has no non-linux dependencies, but other packages that I have been running it on are truly multi-platform.

I have not figured out how to get "cargo metadata" to do this, although it has a --filter-platform option which looked promising.

@mulkieran
Copy link
Member Author

Unfortunately, the --filter-platform will be cumbersome to use, as we would have to list all target triples or use wildcards. If we use a wildcard like ``"*-unknown-linux-gnu"``` the call will fail on Fedora systems. We could use rustc --print target-list to filter out what are supported on the platform on which the command is run, which might work. This seems like not worth the trouble at this time.

@mulkieran
Copy link
Member Author

mulkieran commented Oct 24, 2023

We can maybe make this dependent on cargo-vendor-filterer output. That is, if the fedora conflict that was reported had been eliminated from the vendor-filterer vendor tarfile, then we should not have to worry about it in Fedora.

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

1 participant