镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion node.gni
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,12 @@ declare_args() {
# TODO(zcbenz): There are few broken things for now:
# 1. cross-os compilation is not supported.
# 2. node_mksnapshot crashes when cross-compiling for x64 from arm64.
node_use_node_snapshot = (host_os == target_os) && !(host_cpu == "arm64" && target_cpu == "x64")
# node_use_node_snapshot = (host_os == target_os) && !(host_cpu == "arm64" && target_cpu == "x64")

# Disable snapshot for now. Node.js currently puts `FunctionTemplateInfo`
# objects into the snapshot, but that only works for `FunctionTemplateInfo`
# objects of API functions that do not support fast API calls.
node_use_node_snapshot = false

# Build with Amaro (TypeScript utils).
node_use_amaro = true
Expand Down
Loading