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 authored and Bastian Köcher committed 2019-12-10 10:31:02 +01:00
1 parent 6da9f59d72
commit ddfdd091ba
1 file changed
+1 -1
+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;