mirror of
https://github.com/mii443/wasmer.git
synced 2025-12-17 01:28:44 +00:00
Updated package versions
This commit is contained in:
@@ -16,8 +16,8 @@ wasmer-jit = { path = "../jit", version = "0.16.2" }
|
||||
wasm-common = { path = "../wasm-common", version = "0.16.2" }
|
||||
indexmap = { version = "1.3.2", features = ["serde-1"] }
|
||||
cfg-if = "0.1.10"
|
||||
wat = { version = "1.0.14", optional = true }
|
||||
thiserror = "1.0.14"
|
||||
wat = { version = "1.0.15", optional = true }
|
||||
thiserror = "1.0.15"
|
||||
|
||||
[target.'cfg(target_os = "windows")'.dependencies]
|
||||
winapi = "0.3.8"
|
||||
|
||||
@@ -11,9 +11,11 @@ use wasmer_runtime::Export;
|
||||
///
|
||||
/// ```ignore
|
||||
/// # let my_instance = Instance::new(...);
|
||||
/// // This returns an Error since the imported is a funciton, not a global.
|
||||
///
|
||||
/// // This results with an error: `ExportError::IncompatibleType`.
|
||||
/// let missing_import: &Global = my_instance.exports.get("func")?;
|
||||
/// // This returns an Error since the import doesn't exist.
|
||||
///
|
||||
/// // This results with an error: `ExportError::Missing`.
|
||||
/// let missing_import: &Func = my_instance.exports.get("unknown")?;
|
||||
/// ```
|
||||
#[derive(Error, Debug)]
|
||||
|
||||
@@ -18,7 +18,7 @@ wasmer-runtime = { path = "../runtime", version = "0.16.2" }
|
||||
wasm-common = { path = "../wasm-common", version = "0.16.2" }
|
||||
hashbrown = { version = "0.7.1", optional = true }
|
||||
serde = { version = "1.0.106", features = ["derive"], optional = true }
|
||||
thiserror = "1.0.14"
|
||||
thiserror = "1.0.15"
|
||||
serde_bytes = { version = "0.11.3", optional = true }
|
||||
|
||||
[target.'cfg(any(target_arch = "x86", target_arch = "x86_64"))'.dependencies]
|
||||
|
||||
@@ -16,14 +16,14 @@ region = "2.1.2"
|
||||
libc = { version = "0.2.68", default-features = false }
|
||||
memoffset = "0.5.4"
|
||||
indexmap = { version = "1.3.2", features = ["serde-1"] }
|
||||
thiserror = "1.0.14"
|
||||
thiserror = "1.0.15"
|
||||
more-asserts = "0.2.1"
|
||||
cfg-if = "0.1.10"
|
||||
backtrace = "0.3.46"
|
||||
serde = { version = "1.0.106", features = ["derive", "rc"] }
|
||||
|
||||
[target.'cfg(target_os = "windows")'.dependencies]
|
||||
winapi = { version = "0.3.7", features = ["winbase", "memoryapi", "errhandlingapi"] }
|
||||
winapi = { version = "0.3.8", features = ["winbase", "memoryapi", "errhandlingapi"] }
|
||||
|
||||
[build-dependencies]
|
||||
cc = "1.0"
|
||||
|
||||
Reference in New Issue
Block a user