Versioning for #[runtime-interface] (#5328)

* versionned runtime-interface

* use only one additional wasm blob

* alter docs

* formatting, naming and docs

* add comment for test

* version duplicate err

* RuntimeInterfaceItem -> RuntimeInterfaceFunction<

* test naming

* version checking

* remove spaces

* Update primitives/runtime-interface/proc-macro/src/runtime_interface/bare_function_interface.rs

Co-Authored-By: Bastian Köcher <bkchr@users.noreply.github.com>

* remove sanity checks and reduce coverage

* add doc comment

Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
This commit is contained in:
Nikolay VolfandBastian Köcher authored and GitHub committed 2020-03-23 15:09:05 +01:00
1 parent fe68d6fd8c
commit 4d3557d5a1
22 files changed
+556 -104

No files matched your search

@@ -0,0 +1,8 @@
use sp_runtime_interface::runtime_interface;
#[runtime_interface]
trait Test {
fn test<T>() {}
}
fn main() {}