Prevent use of linux-x64 binaries with v1 microarchitecture

This commit is contained in:
Lovell Fuller
2025-03-19 17:24:46 +00:00
parent d419aba76d
commit 3fd818c4b5
5 changed files with 31 additions and 2 deletions

View File

@@ -33,6 +33,7 @@ Napi::Object init(Napi::Env env, Napi::Object exports) {
exports.Set("block", Napi::Function::New(env, block));
exports.Set("_maxColourDistance", Napi::Function::New(env, _maxColourDistance));
exports.Set("_isUsingJemalloc", Napi::Function::New(env, _isUsingJemalloc));
exports.Set("_isUsingX64V2", Napi::Function::New(env, _isUsingX64V2));
exports.Set("stats", Napi::Function::New(env, stats));
return exports;
}