diff --git a/Cargo.lock b/Cargo.lock index 57b6e6dd2ae7..f13a7c19902d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4951,7 +4951,7 @@ version = "42.0.0" dependencies = [ "cfg-if", "libc", - "wasmtime-environ", + "wasmtime-internal-core", "windows-sys 0.61.2", ] diff --git a/crates/jit-icache-coherence/Cargo.toml b/crates/jit-icache-coherence/Cargo.toml index 14a715edc8c0..608c80d40e95 100644 --- a/crates/jit-icache-coherence/Cargo.toml +++ b/crates/jit-icache-coherence/Cargo.toml @@ -14,7 +14,7 @@ workspace = true [dependencies] cfg-if = { workspace = true } -wasmtime-environ = { workspace = true } +wasmtime-core = { workspace = true } [target.'cfg(target_os = "windows")'.dependencies.windows-sys] workspace = true diff --git a/crates/jit-icache-coherence/src/lib.rs b/crates/jit-icache-coherence/src/lib.rs index 2922c4d0d610..a8db43ac9d81 100644 --- a/crates/jit-icache-coherence/src/lib.rs +++ b/crates/jit-icache-coherence/src/lib.rs @@ -41,7 +41,7 @@ //! # len: usize, //! # } //! # -//! # fn main() -> wasmtime_environ::error::Result<()> { +//! # fn main() -> wasmtime_core::error::Result<()> { //! # //! # let run_code = || {}; //! # let code = vec![0u8; 64]; diff --git a/crates/jit-icache-coherence/src/libc.rs b/crates/jit-icache-coherence/src/libc.rs index 656f66bd6787..99e5fd0d705e 100644 --- a/crates/jit-icache-coherence/src/libc.rs +++ b/crates/jit-icache-coherence/src/libc.rs @@ -4,7 +4,7 @@ use std::ffi::c_void; pub use std::io::Result; #[cfg(not(any(target_os = "linux", target_os = "android")))] -pub use wasmtime_environ::error::Result; +pub use wasmtime_core::error::Result; #[cfg(all( target_arch = "aarch64", diff --git a/crates/jit-icache-coherence/src/miri.rs b/crates/jit-icache-coherence/src/miri.rs index f42a9293bee3..c28262d48e83 100644 --- a/crates/jit-icache-coherence/src/miri.rs +++ b/crates/jit-icache-coherence/src/miri.rs @@ -1,5 +1,5 @@ use std::ffi::c_void; -pub use wasmtime_environ::error::Result; +pub use wasmtime_core::error::Result; pub(crate) fn pipeline_flush_mt() -> Result<()> { Ok(())