Skip to content

Commit

Permalink
Fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
syrusakbary committed Jul 24, 2020
1 parent 79034f0 commit a749f89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/api/src/externals/global.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ impl Global {
Val::I64(x) => *global.get_mut().as_i64_mut() = x,
Val::F32(x) => *global.get_mut().as_f32_mut() = x,
Val::F64(x) => *global.get_mut().as_f64_mut() = x,
Val::V128(x) => *global.get_mut().as_u128_bits_mut() = x,
Val::V128(x) => *global.get_mut().as_u128_bits_mut() = x.bytes(),
_ => return Err(RuntimeError::new(format!("create_global for {:?}", val))),
}
};
Expand Down

0 comments on commit a749f89

Please sign in to comment.