Compile Platform impl

Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
This commit is contained in:
Alexandru Vasile committed 2023-06-05 15:52:28 +03:00
1 parent b70beaf7a4
commit 853a71ec24
9 files changed
+1015 -494

No files matched your search

+1 -1
View File
@@ -62,7 +62,7 @@ pub fn fetch_metadata_hex_blocking(
// Block on some tokio runtime for sync contexts
fn tokio_block_on<T, Fut: std::future::Future<Output = T>>(fut: Fut) -> T {
tokio::runtime::Builder::new_multi_thread()
tokio::runtime::Builder::new_current_thread()
.enable_all()
.build()
.unwrap()