mirror of
https://github.com/mii443/wasmer.git
synced 2025-12-16 17:18:57 +00:00
Renamed virtfs to virtual-fs and virtnet to virtual-net
This commit is contained in:
@@ -40,8 +40,8 @@ wasmer-cache = { version = "=3.2.0-alpha.1", path = "../cache", optional = true
|
||||
wasmer-types = { version = "=3.2.0-alpha.1", path = "../types", features = ["enable-serde"] }
|
||||
wasmer-registry = { version = "=4.0.0", path = "../registry" }
|
||||
wasmer-object = { version = "=3.2.0-alpha.1", path = "../object", optional = true }
|
||||
virtfs = { version = "0.1.0", path = "../vfs", default-features = false, features = ["host-fs"] }
|
||||
virtnet = { version = "0.1.0", path = "../vnet" }
|
||||
virtual-fs = { version = "0.1.0", path = "../vfs", default-features = false, features = ["host-fs"] }
|
||||
virtual-net = { version = "0.1.0", path = "../vnet" }
|
||||
wasmer-wasm-interface = { version = "3.2.0-alpha.1", path = "../wasm-interface" }
|
||||
wasmparser = "0.51.4"
|
||||
atty = "0.2"
|
||||
|
||||
@@ -4,8 +4,8 @@ use std::collections::HashMap;
|
||||
use std::path::PathBuf;
|
||||
use std::sync::Arc;
|
||||
use std::{collections::BTreeSet, path::Path};
|
||||
use virtfs::FileSystem;
|
||||
use virtfs::{DeviceFile, PassthruFileSystem, RootFileSystemBuilder};
|
||||
use virtual_fs::FileSystem;
|
||||
use virtual_fs::{DeviceFile, PassthruFileSystem, RootFileSystemBuilder};
|
||||
use wasmer::{AsStoreMut, Instance, Module, RuntimeError, Value};
|
||||
use wasmer_wasix::types::__WASI_STDIN_FILENO;
|
||||
use wasmer_wasix::{
|
||||
@@ -123,7 +123,7 @@ impl Wasi {
|
||||
if self.networking {
|
||||
rt.set_networking_implementation(virtnet_native::LocalNetworking::default());
|
||||
} else {
|
||||
rt.set_networking_implementation(virtnet::UnsupportedVirtualNetworking::default());
|
||||
rt.set_networking_implementation(virtual_net::UnsupportedVirtualNetworking::default());
|
||||
}
|
||||
|
||||
let engine = store.as_store_mut().engine().clone();
|
||||
|
||||
Reference in New Issue
Block a user