mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2024-11-26 23:42:05 +00:00
14 lines
253 B
Diff
14 lines
253 B
Diff
diff --git a/utils.c b/utils.c
|
|
index 9ceb1be..323299f 100644
|
|
--- a/utils.c
|
|
+++ b/utils.c
|
|
@@ -301,6 +301,7 @@ long peakrss(void)
|
|
#ifdef __linux__
|
|
return r.ru_maxrss * 1024;
|
|
#else
|
|
- return r.ru_maxrss;
|
|
+ /*return r.ru_maxrss;*/
|
|
+ return 0;
|
|
#endif
|
|
}
|