Commit 70d18d09 authored by Dmitry Kashitsyn's avatar Dmitry Kashitsyn Committed by Gav Wood
Browse files

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.
parent 56918785
...@@ -9,7 +9,7 @@ crate-type = ["cdylib"] ...@@ -9,7 +9,7 @@ crate-type = ["cdylib"]
[dependencies] [dependencies]
polkadot-parachain = { path = "../../", default-features = false } 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" tiny-keccak = "1.4"
pwasm-libc = "0.2" pwasm-libc = "0.2"
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
//! Basic parachain that adds a number as part of its state. //! Basic parachain that adds a number as part of its state.
#![cfg_attr(not(feature = "std"), no_std)] #![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"))] #[cfg(not(feature = "std"))]
extern crate alloc; extern crate alloc;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment