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 11, 2024
1 parent cb5f650 commit 4b01672
Showing 1 changed file with 1 addition and 15 deletions.
16 changes: 1 addition & 15 deletions crates/wasmtime/src/runtime/externals/table.rs
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,6 @@ impl Table {
mod tests {
use super::*;
use crate::{Instance, Module, Store};
use wasmtime_environ::TripleExt;

#[test]
fn hash_key_is_stable_across_duplicate_store_data_entries() -> Result<()> {
Expand All @@ -453,20 +452,7 @@ mod tests {
(table (export "t") 1 1 externref)
)
"#,
);
// Expect this test to fail on pulley at this time. When pulley supports
// externref 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(());
}
};
)?;
let instance = Instance::new(&mut store, &module, &[])?;

// Each time we `get_table`, we call `Table::from_wasmtime` which adds
Expand Down

0 comments on commit 4b01672

Please sign in to comment.