summaryrefslogtreecommitdiff
path: root/runtime/ops/os
diff options
context:
space:
mode:
authorColin Ihrig <cjihrig@gmail.com>2022-11-09 09:46:50 -0500
committerGitHub <noreply@github.com>2022-11-09 09:46:50 -0500
commitc36496b3bb9a25640d209d9ac7b2c201bfdc99fb (patch)
tree6a1edafba777cf158104ba4d4a8ac3e19adfe4d0 /runtime/ops/os
parent0500aa1f71859772fba7c581e8cb2c1c4804dc2a (diff)
feat: stabilize Deno.uid() and Deno.gid() (#16424)
Closes https://github.com/denoland/deno_std/issues/2791
Diffstat (limited to 'runtime/ops/os')
-rw-r--r--runtime/ops/os/mod.rs4
1 files changed, 0 insertions, 4 deletions
diff --git a/runtime/ops/os/mod.rs b/runtime/ops/os/mod.rs
index 1bc140d44..a46f5740a 100644
--- a/runtime/ops/os/mod.rs
+++ b/runtime/ops/os/mod.rs
@@ -255,7 +255,6 @@ fn op_system_memory_info(
#[cfg(not(windows))]
#[op]
fn op_gid(state: &mut OpState) -> Result<Option<u32>, AnyError> {
- super::check_unstable(state, "Deno.gid");
state
.borrow_mut::<Permissions>()
.sys
@@ -270,7 +269,6 @@ fn op_gid(state: &mut OpState) -> Result<Option<u32>, AnyError> {
#[cfg(windows)]
#[op]
fn op_gid(state: &mut OpState) -> Result<Option<u32>, AnyError> {
- super::check_unstable(state, "Deno.gid");
state
.borrow_mut::<Permissions>()
.sys
@@ -281,7 +279,6 @@ fn op_gid(state: &mut OpState) -> Result<Option<u32>, AnyError> {
#[cfg(not(windows))]
#[op]
fn op_uid(state: &mut OpState) -> Result<Option<u32>, AnyError> {
- super::check_unstable(state, "Deno.uid");
state
.borrow_mut::<Permissions>()
.sys
@@ -296,7 +293,6 @@ fn op_uid(state: &mut OpState) -> Result<Option<u32>, AnyError> {
#[cfg(windows)]
#[op]
fn op_uid(state: &mut OpState) -> Result<Option<u32>, AnyError> {
- super::check_unstable(state, "Deno.uid");
state
.borrow_mut::<Permissions>()
.sys