Support custom runtime interfaces in native executor (#4129)

This makes it possible to use custom runtime interfaces within your
runtime by registering them at the native executor.
This commit is contained in:
Bastian Köcher
2019-11-20 19:06:52 +01:00
committed by GitHub
parent 16ad04e847
commit 75b6b51782
3 changed files with 98 additions and 6 deletions
+5 -1
View File
@@ -37,13 +37,17 @@ assert_matches = "1.3.0"
wabt = "0.9.2"
hex-literal = "0.2.1"
runtime-test = { package = "substrate-runtime-test", path = "runtime-test" }
test-runtime = { package = "substrate-test-runtime", path = "../../test/utils/runtime" }
runtime-interface = { package = "substrate-runtime-interface", path = "../../primitives/runtime-interface" }
client-api = { package = "substrate-client-api", path = "../api" }
substrate-offchain = { path = "../offchain/" }
state_machine = { package = "substrate-state-machine", path = "../../primitives/state-machine" }
test-case = "0.3.3"
[features]
default = []
default = [ "std" ]
# This crate does not have `no_std` support, we just require this for tests
std = []
wasm-extern-trace = []
wasmtime = [
"cranelift-codegen",