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

Commit 43902f0

Browse files
committed
Bundle ICU data files
Otherwise, attempts to use the i18n api (toLocaleString, Intl, etc) raise the TypeError 'Internal error. Icu error.'
1 parent c46dcba commit 43902f0

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

ext/libv8/builder.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ def gn_args
2323
v8_use_external_startup_data=false
2424
target_cpu="#{libv8_arch}"
2525
v8_target_cpu="#{libv8_arch}"
26-
treat_warnings_as_errors=false).join(' ')
26+
treat_warnings_as_errors=false
27+
icu_use_data_file=false).join(' ')
2728
end
2829

2930
def generate_gn_args

0 commit comments

Comments
 (0)