diff options
Diffstat (limited to 'runtime')
| -rw-r--r-- | runtime/js/90_deno_ns.js | 2 | ||||
| -rw-r--r-- | runtime/ops/os/mod.rs | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/runtime/js/90_deno_ns.js b/runtime/js/90_deno_ns.js index a0587c7f6..8111698be 100644 --- a/runtime/js/90_deno_ns.js +++ b/runtime/js/90_deno_ns.js @@ -121,13 +121,13 @@ unrefTimer: __bootstrap.timers.unrefTimer, osRelease: __bootstrap.os.osRelease, hostname: __bootstrap.os.hostname, + systemMemoryInfo: __bootstrap.os.systemMemoryInfo, networkInterfaces: __bootstrap.os.networkInterfaces, consoleSize: __bootstrap.tty.consoleSize, }; __bootstrap.denoNsUnstable = { DiagnosticCategory: __bootstrap.diagnostics.DiagnosticCategory, - systemMemoryInfo: __bootstrap.os.systemMemoryInfo, gid: __bootstrap.os.gid, uid: __bootstrap.os.uid, listenDatagram: __bootstrap.net.listenDatagram, diff --git a/runtime/ops/os/mod.rs b/runtime/ops/os/mod.rs index 275461cc1..1bc140d44 100644 --- a/runtime/ops/os/mod.rs +++ b/runtime/ops/os/mod.rs @@ -245,7 +245,6 @@ impl From<netif::Interface> for NetworkInterface { fn op_system_memory_info( state: &mut OpState, ) -> Result<Option<sys_info::MemInfo>, AnyError> { - super::check_unstable(state, "Deno.systemMemoryInfo"); state .borrow_mut::<Permissions>() .sys |
