From 391792f3d00cbfbd2401051aac3697fa25926530 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bastian=20K=C3=B6cher?= Date: Fri, 12 Apr 2019 16:02:36 +0200 Subject: [PATCH] Some fixes --- runtime/src/lib.rs | 4 ++-- test/runtime/src/lib.rs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index ed5025f7eb..1bd7635311 100644 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -14,10 +14,10 @@ // You should have received a copy of the GNU General Public License // along with Cumulus. If not, see . -///! The Cumulus runtime to make a runtime a parachain. - #![cfg_attr(not(feature = "std"), no_std)] +///! The Cumulus runtime to make a runtime a parachain. + use rstd::vec::Vec; use codec::{Encode, Decode}; use runtime_primitives::traits::Block as BlockT; diff --git a/test/runtime/src/lib.rs b/test/runtime/src/lib.rs index d7bfbd0196..9babe030d8 100644 --- a/test/runtime/src/lib.rs +++ b/test/runtime/src/lib.rs @@ -20,4 +20,4 @@ pub use substrate_test_runtime::*; -runtime::register_validate_block!(Block, BlockExecutor); \ No newline at end of file +runtime::register_validate_block!(Block, system::BlockExecutor); \ No newline at end of file