summaryrefslogtreecommitdiff
path: root/runtime/Cargo.toml
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2022-12-17 17:25:51 -0500
committerGitHub <noreply@github.com>2022-12-17 23:25:51 +0100
commite9ecfdd20ac3f8a9d920bbcc4e5dd25bd262b4b7 (patch)
tree7604e5e42823656d5378d60791a4f68b66f7ca69 /runtime/Cargo.toml
parentf46df3e35940fc78163945eed33e58fafed0b06b (diff)
fix(runtime): `Deno.memoryUsage().rss` should return correct value (#17088)
This commit changes implementation of "Deno.memoryUsage()" to return correct value for "rss" field. To do that we implement a specialized function per os to retrieve this information.
Diffstat (limited to 'runtime/Cargo.toml')
-rw-r--r--runtime/Cargo.toml2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/Cargo.toml b/runtime/Cargo.toml
index cc7710dfe..8d198e786 100644
--- a/runtime/Cargo.toml
+++ b/runtime/Cargo.toml
@@ -94,7 +94,7 @@ uuid.workspace = true
[target.'cfg(windows)'.dependencies]
fwdansi.workspace = true
-winapi = { workspace = true, features = ["commapi", "knownfolders", "mswsock", "objbase", "shlobj", "tlhelp32", "winbase", "winerror", "winsock2"] }
+winapi = { workspace = true, features = ["commapi", "knownfolders", "mswsock", "objbase", "psapi", "shlobj", "tlhelp32", "winbase", "winerror", "winsock2"] }
ntapi = "0.4.0"
[target.'cfg(unix)'.dependencies]