#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:
- 2025-10-06 00:17:01 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.