File tree Expand file tree Collapse file tree 5 files changed +6
-6
lines changed
crates/jit-icache-coherence Expand file tree Collapse file tree 5 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ workspace = true
1414
1515[dependencies ]
1616cfg-if = { workspace = true }
17- anyhow = { workspace = true }
17+ wasmtime-environ = { workspace = true }
1818
1919[target .'cfg(target_os = "windows")' .dependencies .windows-sys ]
2020workspace = true
Original file line number Diff line number Diff line change 4141//! # len: usize,
4242//! # }
4343//! #
44- //! # fn main() -> anyhow ::Result<()> {
44+ //! # fn main() -> wasmtime_environ::error ::Result<()> {
4545//! #
4646//! # let run_code = || {};
4747//! # let code = vec![0u8; 64];
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ use std::ffi::c_void;
44pub use std:: io:: Result ;
55
66#[ cfg( not( any( target_os = "linux" , target_os = "android" ) ) ) ]
7- pub use anyhow :: Result ;
7+ pub use wasmtime_environ :: error :: Result ;
88
99#[ cfg( all(
1010 target_arch = "aarch64" ,
@@ -93,7 +93,7 @@ mod details {
9393 any( target_os = "linux" , target_os = "android" )
9494) ) ) ]
9595mod details {
96- // NB: this uses `anyhow ::Result` instead of `std::io::Result` to compile on
96+ // NB: this uses `wasmtime_environ::error ::Result` instead of `std::io::Result` to compile on
9797 // `no_std`.
9898 pub ( crate ) fn pipeline_flush_mt ( ) -> super :: Result < ( ) > {
9999 Ok ( ( ) )
Original file line number Diff line number Diff line change 1- pub use anyhow:: Result ;
21use std:: ffi:: c_void;
2+ pub use wasmtime_environ:: error:: Result ;
33
44pub ( crate ) fn pipeline_flush_mt ( ) -> Result < ( ) > {
55 Ok ( ( ) )
You can’t perform that action at this time.
0 commit comments