基本上,我喜欢获取运行应用程序的 CPU 架构的类型
类似于 node.js os.arch() 或 process.arch
它可以是我可以链接到我的应用程序的任何 C++/C 库
但不是 Qt,因为我不能使用它
更新
这是 node.js 中的内容
function arch(): string;
/**
* Returns a string identifying the kernel version.
* On POSIX systems, the operating system release is determined by calling
* [uname(3)][]. On Windows, `pRtlGetVersion` is used, and if it is not available,
* `GetVersionExW()` will be used. See
* https://en.wikipedia.org/wiki/Uname#Examples for more information.
*/