deno/deno-69.patch

14 lines
525 B
Diff
Raw Normal View History

diff --git a/core/runtime.rs.1 b/core/runtime.rs
index 71aad8e..a806ecd 100644
--- a/core/runtime.rs.1
+++ b/core/runtime.rs
@@ -145,7 +145,7 @@ fn v8_init(v8_platform: Option<v8::UniquePtr<v8::Platform>>) {
#[repr(C, align(16))]
struct IcuData([u8; 10413584]);
static ICU_DATA: IcuData = IcuData(*include_bytes!("icudtl.dat"));
- v8::icu::set_common_data(&ICU_DATA.0).unwrap();
+ v8::icu::set_common_data_69(&ICU_DATA.0).unwrap();
let v8_platform = v8_platform
.unwrap_or_else(v8::new_default_platform)