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:
h4x3rotab
2019-12-10 17:31:02 +08:00
committed by Bastian Köcher
parent 6da9f59d72
commit ddfdd091ba
+1 -1
View File
@@ -750,7 +750,7 @@ pub trait Sandbox {
#[cfg(not(feature = "std"))]
struct WasmAllocator;
#[cfg(all(not(feature = "disable_global_allocator"), not(feature = "std")))]
#[cfg(all(not(feature = "disable_allocator"), not(feature = "std")))]
#[global_allocator]
static ALLOCATOR: WasmAllocator = WasmAllocator;