mirror of
https://github.com/denoland/deno.git
synced 2024-12-24 08:09:08 -05:00
This reverts commit e2d75491d5
.
This commit is contained in:
parent
e2d75491d5
commit
8b7023bc7e
6 changed files with 5 additions and 24 deletions
4
Cargo.lock
generated
4
Cargo.lock
generated
|
@ -5348,9 +5348,9 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "v8"
|
name = "v8"
|
||||||
version = "0.62.0"
|
version = "0.60.1"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "de76082a8779ca1b570458e91caaa2fc5d30cefffba524129613874ce69cdfc3"
|
checksum = "07fd5b3ed559897ff02c0f62bc0a5f300bfe79bb4c77a50031b8df771701c628"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"bitflags",
|
"bitflags",
|
||||||
"fslock",
|
"fslock",
|
||||||
|
|
|
@ -41,7 +41,7 @@ license = "MIT"
|
||||||
repository = "https://github.com/denoland/deno"
|
repository = "https://github.com/denoland/deno"
|
||||||
|
|
||||||
[workspace.dependencies]
|
[workspace.dependencies]
|
||||||
v8 = { version = "0.62.0", default-features = false }
|
v8 = { version = "0.60.1", default-features = false }
|
||||||
deno_ast = { version = "0.23.2", features = ["transpiling"] }
|
deno_ast = { version = "0.23.2", features = ["transpiling"] }
|
||||||
|
|
||||||
deno_core = { version = "0.167.0", path = "./core" }
|
deno_core = { version = "0.167.0", path = "./core" }
|
||||||
|
|
|
@ -1,2 +1 @@
|
||||||
Error: CompileError: WebAssembly.compile(): expected length: @+10
|
Error: CompileError: WebAssembly.compile(): expected length: @+10
|
||||||
at file:///[WILDCARD]/close_in_wasm_reactions.js:18:13
|
|
||||||
|
|
BIN
core/icudtl.dat
BIN
core/icudtl.dat
Binary file not shown.
|
@ -111,16 +111,6 @@ impl v8::inspector::V8InspectorClientImpl for JsRuntimeInspector {
|
||||||
&self.v8_inspector_client
|
&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 {
|
fn base_mut(&mut self) -> &mut v8::inspector::V8InspectorClientBase {
|
||||||
&mut self.v8_inspector_client
|
&mut self.v8_inspector_client
|
||||||
}
|
}
|
||||||
|
@ -657,14 +647,6 @@ impl v8::inspector::ChannelImpl for InspectorSession {
|
||||||
&self.v8_channel
|
&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 {
|
fn base_mut(&mut self) -> &mut v8::inspector::ChannelBase {
|
||||||
&mut self.v8_channel
|
&mut self.v8_channel
|
||||||
}
|
}
|
||||||
|
|
|
@ -199,9 +199,9 @@ fn v8_init(
|
||||||
) {
|
) {
|
||||||
// Include 10MB ICU data file.
|
// Include 10MB ICU data file.
|
||||||
#[repr(C, align(16))]
|
#[repr(C, align(16))]
|
||||||
struct IcuData([u8; 10541264]);
|
struct IcuData([u8; 10454784]);
|
||||||
static ICU_DATA: IcuData = IcuData(*include_bytes!("icudtl.dat"));
|
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!(
|
let flags = concat!(
|
||||||
" --wasm-test-streaming",
|
" --wasm-test-streaming",
|
||||||
|
|
Loading…
Reference in a new issue