summaryrefslogtreecommitdiff
path: root/xmake/core/base/os.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2021-04-06 00:00:53 +0800
committerruki <[email protected]>2021-04-06 00:00:53 +0800
commit1bc09ec64a54f2234a62994e0b8c4e6da23cb9ae (patch)
treebe4a3c524d9c390947534a34399fb9eeba994e48 /xmake/core/base/os.lua
parente57f64e85cfa9c66f0faae1cdbe3d9beb3b3aa3d (diff)
improve cpuinfo
Diffstat (limited to 'xmake/core/base/os.lua')
-rw-r--r--xmake/core/base/os.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/core/base/os.lua b/xmake/core/base/os.lua
index 47068793f..f9444d4b3 100644
--- a/xmake/core/base/os.lua
+++ b/xmake/core/base/os.lua
@@ -1077,8 +1077,8 @@ function os.pbcopy(data)
end
-- get cpu info
-function os.cpuinfo()
- return require("base/cpu").info()
+function os.cpuinfo(name)
+ return require("base/cpu").info(name)
end
-- read the content of symlink