Clearscript V8:如何判断使用的是 32 位还是 64 位 V8 引擎?

Clearscript V8: how to tell if 32 or 64 bit V8 engine was used?

我有一个问题,某些客户报告从 js 调用的代码中的错误。

我想检查的一个问题是,这是否可能是因为 32 位和 64 位引擎。我怎么知道哪个被使用了?那是我可以问 clearscript 的东西,还是我可以在 js 中访问它?

如何决定使用哪个引擎,Windows位宽?

RuntimeInformation.ProcessArchitecture is used to determine the version of V8 in use. Additionally, IsOSPlatform is used to determine the OS-specific version of V8 that should be used. Here is a list of all the options ClearScript 将 select 来自。