Skip to content

Commit da8b889

Browse files
committed
Remove feature alloc
1 parent bc5fbac commit da8b889

File tree

8 files changed

+0
-7
lines changed

8 files changed

+0
-7
lines changed

core/bellman-verifier/src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
#![cfg_attr(not(feature = "std"), no_std)]
2-
#![cfg_attr(not(feature = "std"), feature(alloc))]
32

43
#[cfg(not(feature = "std"))]
54
#[macro_use]

core/crypto/src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
#![cfg_attr(not(feature = "std"), no_std)]
2-
#![cfg_attr(not(feature = "std"), feature(alloc))]
32

43
#[cfg(not(feature = "std"))]
54
#[macro_use]

core/jubjub/src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
#![cfg_attr(not(feature = "std"), no_std)]
2-
#![cfg_attr(not(feature = "std"), feature(alloc))]
32

43
#[cfg(not(feature = "std"))]
54
#[macro_use]

core/keys/src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
//! Zerochain key components.
22
33
#![cfg_attr(not(feature = "std"), no_std)]
4-
#![cfg_attr(not(feature = "std"), feature(alloc))]
54

65
#[cfg(not(feature = "std"))]
76
#[macro_use]

core/pairing/src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
#![cfg_attr(not(feature = "std"), no_std)]
2-
#![cfg_attr(not(feature = "std"), feature(alloc))]
32

43
// `clippy` is a code linting tool for improving code quality by catching
54
// common mistakes or strange code patterns. If the `clippy` feature is

core/primitives/src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
#![cfg_attr(not(feature = "std"), no_std)]
2-
#![cfg_attr(not(feature = "std"), feature(alloc))]
32

43
#[cfg(not(feature = "std"))]
54
#[macro_use]

runtime/src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
33
// Ensure we're `no_std` when compiling for Wasm.
44
#![cfg_attr(not(feature = "std"), no_std)]
5-
#![cfg_attr(not(feature = "std"), feature(alloc))]
65
// `construct_runtime!` does a lot of recursion and requires us to increase the limit to 256.
76
#![recursion_limit="256"]
87

0 commit comments

Comments
 (0)