[Pkg-rust-maintainers] Bug#976532: rust-cpuid-bool: FTBFS: compile_error!("This crate works only on my computer");

Geert Stappers stappers at stappers.nl
Sat Dec 5 14:24:51 GMT 2020


Control: retitle -1 rust-cpuid-bool: FTBFS: compile_error!("This crate works only on my computer");


On Sat, Dec 05, 2020 at 02:28:14PM +0100, Lucas Nussbaum wrote:
> Source: rust-cpuid-bool
> Severity: serious
> Justification: FTBFS on arm64

Yes, severity  serious   is justified.

 
> Hi,
> 
> During a rebuild of all packages in sid,
> your package failed to build on arm64
> 
> > error: This crate works only on x86 and x86-64 targets.
> >   --> src/lib.rs:20:1
> >    |
> > 20 | compile_error!("This crate works only on x86 and x86-64 targets.");
> >    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> > 
> > error: This crate works only on x86 and x86-64 targets.
> >   --> src/lib.rs:20:1
> >    |
> > 20 | compile_error!("This crate works only on x86 and x86-64 targets.");
> >    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> > 
> > error: aborting due to previous error
> > 
> > error: could not compile `cpuid-bool`.
> > 

Qouting https://crates.io/crates/cpuid-bool
 lightweight and efficient no-std compatible alternative to the
 is_x86_feature_detected macro


Reality says there are instruction set architectures others than x86.



In other words:
 This bugreport is about enabling other architectures
 than a currently dominant architecture.



Regards
Geert Stappers
-- 
Silence is hard to parse



More information about the Pkg-rust-maintainers mailing list