#1003070 rust-generator should not claim to build on "any" as upstream only supports amd64/arm64 #1003070
- Package:
- rust-generator
- Source:
- rust-generator
- Submitter:
- Zhaohai Li
- Date:
- 2026-08-21 10:23:02 UTC
- Severity:
- normal
- Tags:
https://github.com/Xudong-Huang/generator-rs/blob/master/build.rs#L26. It would be better to follow the upstream to build only in arch amd64/arm64 instead of trying on all archs. Another reason to not try with all arch is that, the package generates asm code which depends on the arch. Even if the package builds successfully on an unsupported arch, the behavior may not be right as upstream never verifies the generated asm code. Thanks, Regards.
This issue seems at least partly fixed with newer upstream releases covering more architectures and actively encouring patches to support even more. The Debian package has not seen a maintainer update since 2022 - perhaps it was time to consider *maintaining* it? - Jonas