From ab8b1b11d7126fdf9a1bccd0d3cd39920e817e41 Mon Sep 17 00:00:00 2001 From: Yusuke Tanaka Date: Tue, 30 Jan 2024 15:34:31 +0900 Subject: fix(runtime): return number from `op_ppid` instead of bigint (#22169) Fixes #22166 --- runtime/ops/runtime.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'runtime/ops/runtime.rs') diff --git a/runtime/ops/runtime.rs b/runtime/ops/runtime.rs index 3f00142cb..5b0b092c1 100644 --- a/runtime/ops/runtime.rs +++ b/runtime/ops/runtime.rs @@ -32,7 +32,7 @@ fn op_main_module(state: &mut OpState) -> Result { /// This is an op instead of being done at initialization time because /// it's expensive to retrieve the ppid on Windows. #[op2(fast)] -#[bigint] +#[number] pub fn op_ppid() -> i64 { #[cfg(windows)] { -- cgit v1.2.3