Skip to content

Commit

Permalink
Flag test as now passing
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcrichton committed Dec 12, 2024
1 parent bb75cb5 commit 2487140
Showing 1 changed file with 1 addition and 15 deletions.
16 changes: 1 addition & 15 deletions crates/wasmtime/src/runtime/module/registry.rs
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,6 @@ pub fn unregister_code(code: &Arc<CodeMemory>) {
#[cfg_attr(miri, ignore)]
fn test_frame_info() -> Result<(), anyhow::Error> {
use crate::*;
use wasmtime_environ::TripleExt;

let mut store = Store::<()>::default();
let module = Module::new(
Expand All @@ -315,20 +314,7 @@ fn test_frame_info() -> Result<(), anyhow::Error> {
(func (export "rem_u") (param $x i32) (param $y i32) (result i32) (i32.rem_u (local.get $x) (local.get $y)))
)
"#,
);
// Expect this test to fail on pulley at this time. When pulley supports
// the instructions above this should switch back to using `?` on the
// constructor above for all platforms.
let module = match module {
Ok(module) => {
assert!(!store.engine().target().is_pulley());
module
}
Err(e) => {
assert!(store.engine().target().is_pulley(), "bad error {e:?}");
return Ok(());
}
};
)?;
// Create an instance to ensure the frame information is registered.
Instance::new(&mut store, &module, &[])?;

Expand Down

0 comments on commit 2487140

Please sign in to comment.