Skip to content

Commit

Permalink
Disable pointer compression
Browse files Browse the repository at this point in the history
Node 16.4.0 introduced new cage flags for the experimental pointer
compression stuff. Unfortunately something fails and none of them are
set which causes the build to bail out because of the inconsistency.
  • Loading branch information
lloeki committed Jul 12, 2021
1 parent 60fe556 commit f42c647
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ext/mini_racer_extension/extconf.rb
Expand Up @@ -13,7 +13,7 @@
$CPPFLAGS += " -fPIC" unless $CPPFLAGS.split.include? "-rdynamic" or IS_DARWIN
$CPPFLAGS += " -std=c++14"
$CPPFLAGS += " -fpermissive"
$CPPFLAGS += " -DV8_COMPRESS_POINTERS"
#$CPPFLAGS += " -DV8_COMPRESS_POINTERS"
$CPPFLAGS += " -fvisibility=hidden "

$CPPFLAGS += " -Wno-reserved-user-defined-literal" if IS_DARWIN
Expand Down
2 changes: 1 addition & 1 deletion lib/mini_racer/version.rb
Expand Up @@ -2,5 +2,5 @@

module MiniRacer
VERSION = "0.4.0"
LIBV8_NODE_VERSION = "~> 16.3.0.0"
LIBV8_NODE_VERSION = "~> 16.4.2.0"
end

0 comments on commit f42c647

Please sign in to comment.