Improve sandbox internal api (#9709)

* Improve sandbox internal api

This improves the internal sandbox api for the executor implementations.
The main point is to hide the tls in the internal api and not having it
exposed to the outside.

This is especially needed for wasmtime 0.29.0

* Fmt

* Make it nicer
This commit is contained in:
Bastian Köcher authored and GitHub committed 2021-09-08 12:28:23 +02:00
1 parent 8cf6474388
commit b382cc8f9d
6 files changed
+579 -697

No files matched your search

@@ -24,6 +24,7 @@ sp-wasm-interface = { version = "4.0.0-dev", path = "../../../primitives/wasm-in
sp-maybe-compressed-blob = { version = "4.0.0-dev", path = "../../../primitives/maybe-compressed-blob" }
sp-serializer = { version = "3.0.0", path = "../../../primitives/serializer" }
thiserror = "1.0.21"
environmental = "1.1.3"
wasmer = { version = "1.0", optional = true }
wasmer-compiler-singlepass = { version = "1.0", optional = true }