diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/icudtl.dat | bin | 10541264 -> 10454784 bytes | |||
-rw-r--r-- | core/inspector.rs | 18 | ||||
-rw-r--r-- | core/runtime.rs | 4 |
3 files changed, 2 insertions, 20 deletions
diff --git a/core/icudtl.dat b/core/icudtl.dat Binary files differindex d1f10917a..dfa97affb 100644 --- a/core/icudtl.dat +++ b/core/icudtl.dat diff --git a/core/inspector.rs b/core/inspector.rs index c83784fe3..2b03d663d 100644 --- a/core/inspector.rs +++ b/core/inspector.rs @@ -111,16 +111,6 @@ impl v8::inspector::V8InspectorClientImpl for JsRuntimeInspector { &self.v8_inspector_client } - unsafe fn base_ptr( - this: *const Self, - ) -> *const v8::inspector::V8InspectorClientBase - where - Self: Sized, - { - // SAFETY: this pointer is valid for the whole lifetime of inspector - unsafe { std::ptr::addr_of!((*this).v8_inspector_client) } - } - fn base_mut(&mut self) -> &mut v8::inspector::V8InspectorClientBase { &mut self.v8_inspector_client } @@ -657,14 +647,6 @@ impl v8::inspector::ChannelImpl for InspectorSession { &self.v8_channel } - unsafe fn base_ptr(this: *const Self) -> *const v8::inspector::ChannelBase - where - Self: Sized, - { - // SAFETY: this pointer is valid for the whole lifetime of inspector - unsafe { std::ptr::addr_of!((*this).v8_channel) } - } - fn base_mut(&mut self) -> &mut v8::inspector::ChannelBase { &mut self.v8_channel } diff --git a/core/runtime.rs b/core/runtime.rs index 026ee02a5..5f89fbdee 100644 --- a/core/runtime.rs +++ b/core/runtime.rs @@ -199,9 +199,9 @@ fn v8_init( ) { // Include 10MB ICU data file. #[repr(C, align(16))] - struct IcuData([u8; 10541264]); + struct IcuData([u8; 10454784]); static ICU_DATA: IcuData = IcuData(*include_bytes!("icudtl.dat")); - v8::icu::set_common_data_72(&ICU_DATA.0).unwrap(); + v8::icu::set_common_data_71(&ICU_DATA.0).unwrap(); let flags = concat!( " --wasm-test-streaming", |