summaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
Diffstat (limited to 'runtime')
-rw-r--r--runtime/js/90_deno_ns.js4
-rw-r--r--runtime/ops/os/mod.rs4
2 files changed, 2 insertions, 6 deletions
diff --git a/runtime/js/90_deno_ns.js b/runtime/js/90_deno_ns.js
index 8111698be..64653d469 100644
--- a/runtime/js/90_deno_ns.js
+++ b/runtime/js/90_deno_ns.js
@@ -124,12 +124,12 @@
systemMemoryInfo: __bootstrap.os.systemMemoryInfo,
networkInterfaces: __bootstrap.os.networkInterfaces,
consoleSize: __bootstrap.tty.consoleSize,
+ gid: __bootstrap.os.gid,
+ uid: __bootstrap.os.uid,
};
__bootstrap.denoNsUnstable = {
DiagnosticCategory: __bootstrap.diagnostics.DiagnosticCategory,
- gid: __bootstrap.os.gid,
- uid: __bootstrap.os.uid,
listenDatagram: __bootstrap.net.listenDatagram,
umask: __bootstrap.fs.umask,
HttpClient: __bootstrap.fetch.HttpClient,
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