Skip to content
This repository has been archived by the owner on Dec 4, 2023. It is now read-only.

Commit

Permalink
Bundle ICU data files
Browse files Browse the repository at this point in the history
Otherwise, attempts to use the i18n api (toLocaleString, Intl, etc)
raise the TypeError 'Internal error. Icu error.'
  • Loading branch information
nightpool committed Jul 17, 2020
1 parent c46dcba commit 43902f0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ext/libv8/builder.rb
Expand Up @@ -23,7 +23,8 @@ def gn_args
v8_use_external_startup_data=false
target_cpu="#{libv8_arch}"
v8_target_cpu="#{libv8_arch}"
treat_warnings_as_errors=false).join(' ')
treat_warnings_as_errors=false
icu_use_data_file=false).join(' ')
end

def generate_gn_args
Expand Down

0 comments on commit 43902f0

Please sign in to comment.