Skip to content

Commit

Permalink
try v8_enable_pointer_compression=1 again for arm64 and 26 again
Browse files Browse the repository at this point in the history
  • Loading branch information
Morgan Brown committed Mar 14, 2024
1 parent 36773a6 commit db7cfad
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions build.js
Original file line number Diff line number Diff line change
Expand Up @@ -147,13 +147,7 @@ function build(runtime, version, abi) {

if (parseInt(abi) >= 80) {
// Fix build electron 26 on macOS arm64?
if (
/^electron/i.test(runtime) &&
version === '26.0.0' &&
arch === 'arm64'
) {
args.push('--v8_enable_pointer_compression=1');
} else if (arch === 'x64') {
if (arch === 'x64' || (arch === 'arm64' && version === '26.0.0')) {
args.push('--v8_enable_pointer_compression=1');
} else {
args.push('--v8_enable_pointer_compression=0');
Expand Down

0 comments on commit db7cfad

Please sign in to comment.