mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-19 15:45:41 +00:00
Wrong feature name disable_allocator in sr-io (#4342)
This fixes the inconsistency: - Cargo.toml: `disable_allocator` - lib.rs: `disable_global_allocator`
This commit is contained in:
committed by
Bastian Köcher
parent
6da9f59d72
commit
ddfdd091ba
@@ -750,7 +750,7 @@ pub trait Sandbox {
|
|||||||
#[cfg(not(feature = "std"))]
|
#[cfg(not(feature = "std"))]
|
||||||
struct WasmAllocator;
|
struct WasmAllocator;
|
||||||
|
|
||||||
#[cfg(all(not(feature = "disable_global_allocator"), not(feature = "std")))]
|
#[cfg(all(not(feature = "disable_allocator"), not(feature = "std")))]
|
||||||
#[global_allocator]
|
#[global_allocator]
|
||||||
static ALLOCATOR: WasmAllocator = WasmAllocator;
|
static ALLOCATOR: WasmAllocator = WasmAllocator;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user