Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1035916

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

From Geert Stappers <stappers@stappers.nl>
Newsgroups linux.debian.bugs.dist
Subject Bug#976532: rust-cpuid-bool: FTBFS: compile_error!("This crate works only on my computer");
Date 2020-12-05 15:30 +0100
Message-ID <BiGJs-5hr-7@gated-at.bofh.it> (permalink)
References <BiFXc-4ss-71@gated-at.bofh.it> <BiFXc-4ss-71@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.debian.bugs.dist | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#976532: rust-cpuid-bool: FTBFS: dh_auto_test: error: /usr/share/cargo/bin/cargo test --all returned exit code 101 Lucas Nussbaum <lucas@debian.org> - 2020-12-05 14:40 +0100
  Bug#976532: rust-cpuid-bool: FTBFS: compile_error!("This crate works only on my computer"); Geert Stappers <stappers@stappers.nl> - 2020-12-05 15:30 +0100
  Bug#976532: [Pkg-rust-maintainers] Bug#976532: marked as done (rust-cpuid-bool: FTBFS: compile_error!("This crate works only on my computer"); ) Geert Stappers <stappers@stappers.nl> - 2020-12-05 21:30 +0100

csiph-web