diff --git a/Cargo.standalone.toml b/Cargo.standalone.toml index 187f5bb..3dd6b2b 100644 --- a/Cargo.standalone.toml +++ b/Cargo.standalone.toml @@ -1,6 +1,6 @@ [package] name = "wasmer-napi" -version = "0.702.0" +version = "0.702.0-rc.1" description = "NAPI library for Wasmer WebAssembly runtime" edition = "2024" license = "MIT" @@ -11,8 +11,8 @@ cli = [ "dep:wasmer-wasix", "dep:wasmer-cache", "dep:wasmer-compiler-llvm", - "dep:wasmer_c_api", - "wasmer_c_api/llvm", + "dep:wasmer-c-api-imports", + "wasmer-c-api-imports/llvm", "dep:tokio", "dep:virtual-fs", "dep:wasmer-types", @@ -23,15 +23,15 @@ anyhow = "1" # Keep the standalone crates.io build on the 0.701 / 7.1 family. The vendored # manifest can track local 0.702 / 7.2 path crates, but crates.io 7.2 currently # requires rustc 1.92 while this standalone workflow is expected to run on 1.91. -wasmer = { version = "=7.2.0" } +wasmer = { version = "=7.2.0-rc.1" } # This dependencies are ONLY needed for testing napi in Wasm locally -wasmer-cache = { version = "=7.2.0", optional = true } -wasmer_c_api = { version = "=7.2.0", optional = true, default-features = false, package = "wasmer-c-api" } -wasmer-compiler-llvm = { version = "=7.2.0", optional = true } -wasmer-types = { version = "=7.2.0", optional = true } -wasmer-wasix = { version = "=0.702.0", optional = true } -virtual-fs = { version = "=0.702.0", optional = true } +wasmer-cache = { version = "=7.2.0-rc.1", optional = true } +wasmer-c-api-imports = { version = "=7.2.0-rc.1", optional = true, default-features = false } +wasmer-compiler-llvm = { version = "=7.2.0-rc.1", optional = true } +wasmer-types = { version = "=7.2.0-rc.1", optional = true } +wasmer-wasix = { version = "=0.702.0-rc.1", optional = true } +virtual-fs = { version = "=0.702.0-rc.1", optional = true } tokio = { version = "1", features = ["rt-multi-thread"], optional = true } enum-iterator = "2.3.0" diff --git a/Cargo.toml b/Cargo.toml index c9e1db2..99bfb6f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "wasmer-napi" -version = "0.702.0" +version = "0.702.0-rc.1" description = "NAPI library for Wasmer WebAssembly runtime" edition = "2024" license = "MIT" @@ -11,8 +11,8 @@ cli = [ "dep:wasmer-wasix", "dep:wasmer-cache", "dep:wasmer-compiler-llvm", - "dep:wasmer_c_api", - "wasmer_c_api/llvm", + "dep:wasmer-c-api-imports", + "wasmer-c-api-imports/llvm", "dep:tokio", "dep:virtual-fs", "dep:wasmer-types", @@ -27,15 +27,15 @@ anyhow = "1" # `[patch]`, so standalone builds of this repo should use # `./cargo-standalone.sh`, which selects `Cargo.standalone.toml` when the # sibling `../api`, `../wasix`, etc. tree is not present. -wasmer = { version = "=7.2.0", path = "../api" } +wasmer = { version = "=7.2.0-rc.1", path = "../api" } # This dependencies are ONLY needed for testing napi in Wasm locally -wasmer-cache = { version = "=7.2.0", path = "../cache", optional = true } -wasmer_c_api = { version = "=7.2.0", path = "../c-api", optional = true, default-features = false, package = "wasmer-c-api" } -wasmer-compiler-llvm = { version = "=7.2.0", path = "../compiler-llvm", optional = true } -wasmer-types = { version = "=7.2.0", path = "../types", optional = true } -wasmer-wasix = { version = "=0.702.0", path = "../wasix", optional = true } -virtual-fs = { version = "=0.702.0", path = "../virtual-fs", optional = true } +wasmer-cache = { version = "=7.2.0-rc.1", path = "../cache", optional = true } +wasmer-c-api-imports = { version = "=7.2.0-rc.1", path = "../c-api-imports", optional = true, default-features = false } +wasmer-compiler-llvm = { version = "=7.2.0-rc.1", path = "../compiler-llvm", optional = true } +wasmer-types = { version = "=7.2.0-rc.1", path = "../types", optional = true } +wasmer-wasix = { version = "=0.702.0-rc.1", path = "../wasix", optional = true } +virtual-fs = { version = "=0.702.0-rc.1", path = "../virtual-fs", optional = true } tokio = { version = "1", features = ["rt-multi-thread"], optional = true } enum-iterator = "2.3.0" diff --git a/src/cli.rs b/src/cli.rs index d16ac30..a32030f 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -15,7 +15,7 @@ use wasmer_wasix::{ }; use crate::{NapiCtx, guest::napi::register_env_imports}; -use wasmer_c_api::wasm_c_api::imports::WasmCapiRuntimeHooks; +use wasmer_c_api_imports::WasmCapiRuntimeHooks; #[derive(Debug, Clone)] pub struct GuestMount {