mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 05:21:08 +00:00
+ adding compiler features for no_std environments other than wasm (i.e. SGX) (#2421)
This commit is contained in:
Regular → Executable
+1
@@ -26,6 +26,7 @@ extern "C" {
|
||||
/// Wasm allocator
|
||||
pub struct WasmAllocator;
|
||||
|
||||
#[cfg(not(feature = "no_global_allocator"))]
|
||||
#[global_allocator]
|
||||
static ALLOCATOR: WasmAllocator = WasmAllocator;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user