summaryrefslogtreecommitdiff
path: root/runtime/ops/runtime.rs
diff options
context:
space:
mode:
authorYusuke Tanaka <yusuktan@maguro.dev>2024-01-30 15:34:31 +0900
committerGitHub <noreply@github.com>2024-01-30 15:34:31 +0900
commitab8b1b11d7126fdf9a1bccd0d3cd39920e817e41 (patch)
treea3def484d0bd640dbdda570ef08eed51973307e3 /runtime/ops/runtime.rs
parent345423cf7697326258ce8b32f681910f4a2f77de (diff)
fix(runtime): return number from `op_ppid` instead of bigint (#22169)
Fixes #22166
Diffstat (limited to 'runtime/ops/runtime.rs')
-rw-r--r--runtime/ops/runtime.rs2
1 files changed, 1 insertions, 1 deletions
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<String, AnyError> {
/// 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)]
{