Fix builds.
This commit is contained in:
parent
d1749131c5
commit
e4e2bb3356
@ -141,7 +141,10 @@ impl Engine {
|
|||||||
let args = &mut [lhs_ptr_inner, &mut new_val];
|
let args = &mut [lhs_ptr_inner, &mut new_val];
|
||||||
|
|
||||||
match self.call_native_fn(global, state, lib, op, hash, args, true, true, op_pos) {
|
match self.call_native_fn(global, state, lib, op, hash, args, true, true, op_pos) {
|
||||||
Ok(_) => self.check_data_size(&mut args[0], root.1)?,
|
Ok(_) => {
|
||||||
|
#[cfg(not(feature = "unchecked"))]
|
||||||
|
self.check_data_size(&mut args[0], root.1)?;
|
||||||
|
}
|
||||||
Err(err) if matches!(*err, ERR::ErrorFunctionNotFound(ref f, _) if f.starts_with(op)) =>
|
Err(err) if matches!(*err, ERR::ErrorFunctionNotFound(ref f, _) if f.starts_with(op)) =>
|
||||||
{
|
{
|
||||||
// Expand to `var = var op rhs`
|
// Expand to `var = var op rhs`
|
||||||
|
Loading…
Reference in New Issue
Block a user