Make crate feature alloc work with stable Rust

`println!` was removed in the test as the corresponding test for `u32` does not have it.

(cherry picked from commit 608f8cd594)
Signed-off-by: Isis Lovecruft <isis@patternsinthevoid.net>
This commit is contained in:
Stephane Raux 2020-10-20 17:54:06 -07:00 committed by Isis Lovecruft
parent 0f07443c2d
commit 4269b39f13
No known key found for this signature in database
GPG key ID: AB41313533E8E812
2 changed files with 0 additions and 2 deletions

View file

@ -443,7 +443,6 @@ mod test {
fn from_bytes_wide() {
let bignum = [255u8; 64]; // 2^512 - 1
let reduced = Scalar52::from_bytes_wide(&bignum);
println!("{:?}", reduced);
for i in 0..5 {
assert!(reduced[i] == C[i]);
}

View file

@ -10,7 +10,6 @@
#![no_std]
#![cfg_attr(feature = "nightly", feature(test))]
#![cfg_attr(all(feature = "alloc", not(feature = "std")), feature(alloc))]
#![cfg_attr(feature = "nightly", feature(external_doc))]
#![cfg_attr(feature = "nightly", feature(doc_cfg))]
#![cfg_attr(feature = "simd_backend", feature(stdsimd))]