From f46df3e35940fc78163945eed33e58fafed0b06b Mon Sep 17 00:00:00 2001 From: linbingquan <695601626@qq.com> Date: Sun, 18 Dec 2022 06:20:15 +0800 Subject: chore: update to Rust 1.66.0 (#17078) --- core/runtime.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/runtime.rs') diff --git a/core/runtime.rs b/core/runtime.rs index 3d37b13fa..a95ca0ca6 100644 --- a/core/runtime.rs +++ b/core/runtime.rs @@ -2116,7 +2116,7 @@ impl JsRuntime { let (promise_id, op_id, mut resp) = item; state.unrefed_ops.remove(&promise_id); state.op_state.borrow().tracker.track_async_completed(op_id); - args.push(v8::Integer::new(scope, promise_id as i32).into()); + args.push(v8::Integer::new(scope, promise_id).into()); args.push(match resp.to_v8(scope) { Ok(v) => v, Err(e) => OpResult::Err(OpError::new(&|_| "TypeError", e.into())) -- cgit v1.2.3