mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-07 06:08:03 +00:00
Reverts wee_alloc to a normal versioning scheme (#222)
* Reverts wee_alloc to a normal versioning scheme * Removes `global_allocator` attribute, since it's now on by default This feature has been stable since 1.28.0. Attribute no longer needed.
This commit is contained in:
committed by
Gav Wood
parent
e53c17d646
commit
ac0b8b1b45
@@ -9,7 +9,7 @@ crate-type = ["cdylib"]
|
||||
|
||||
[dependencies]
|
||||
polkadot-parachain = { path = "../../", default-features = false }
|
||||
wee_alloc = { git = "https://github.com/rustwasm/wee_alloc", rev = "4e9f23fff1f2474962085ca693f8884db666889f" }
|
||||
wee_alloc = "0.4.1"
|
||||
tiny-keccak = "1.4"
|
||||
pwasm-libc = "0.2"
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
//! Basic parachain that adds a number as part of its state.
|
||||
|
||||
#![cfg_attr(not(feature = "std"), no_std)]
|
||||
#![cfg_attr(not(feature = "std"), feature(alloc, core_intrinsics, global_allocator, lang_items, panic_implementation, core_panic_info))]
|
||||
#![cfg_attr(not(feature = "std"), feature(alloc, core_intrinsics, lang_items, panic_implementation, core_panic_info))]
|
||||
|
||||
#[cfg(not(feature = "std"))]
|
||||
extern crate alloc;
|
||||
|
||||
Reference in New Issue
Block a user