Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion crates/jit-icache-coherence/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ workspace = true

[dependencies]
cfg-if = { workspace = true }
anyhow = { workspace = true }
wasmtime-environ = { workspace = true }

[target.'cfg(target_os = "windows")'.dependencies.windows-sys]
workspace = true
Expand Down
2 changes: 1 addition & 1 deletion crates/jit-icache-coherence/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
//! # len: usize,
//! # }
//! #
//! # fn main() -> anyhow::Result<()> {
//! # fn main() -> wasmtime_environ::error::Result<()> {
//! #
//! # let run_code = || {};
//! # let code = vec![0u8; 64];
Expand Down
4 changes: 2 additions & 2 deletions crates/jit-icache-coherence/src/libc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 anyhow::Result;
pub use wasmtime_environ::error::Result;

#[cfg(all(
target_arch = "aarch64",
Expand Down Expand Up @@ -93,7 +93,7 @@ mod details {
any(target_os = "linux", target_os = "android")
)))]
mod details {
// NB: this uses `anyhow::Result` instead of `std::io::Result` to compile on
// NB: this uses `wasmtime_environ::error::Result` instead of `std::io::Result` to compile on
// `no_std`.
pub(crate) fn pipeline_flush_mt() -> super::Result<()> {
Ok(())
Expand Down
2 changes: 1 addition & 1 deletion crates/jit-icache-coherence/src/miri.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
pub use anyhow::Result;
use std::ffi::c_void;
pub use wasmtime_environ::error::Result;

pub(crate) fn pipeline_flush_mt() -> Result<()> {
Ok(())
Expand Down
4 changes: 2 additions & 2 deletions scripts/publish.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ const CRATES_TO_PUBLISH: &[&str] = &[
"cranelift-native",
"cranelift-object",
"cranelift-interpreter",
"wasmtime-internal-component-util",
"wasmtime-environ",
"wasmtime-internal-jit-icache-coherence",
// Wasmtime unwinder, used by both `cranelift-jit` (optionally) and filetests, and by Wasmtime.
"wasmtime-internal-unwinder",
Expand All @@ -56,8 +58,6 @@ const CRATES_TO_PUBLISH: &[&str] = &[
"wasmtime-internal-error",
"wasmtime-internal-versioned-export-macros",
"wasmtime-internal-slab",
"wasmtime-internal-component-util",
"wasmtime-environ",
"wasmtime-internal-wit-bindgen",
"wasmtime-internal-component-macro",
"wasmtime-internal-jit-debug",
Expand Down