-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Upgrade V8 to 13.4 #28080
feat: Upgrade V8 to 13.4 #28080
Conversation
devsnek
commented
Feb 12, 2025
•
edited
Loading
edited
- upgrade v8 to 13.4
- turbocall conversion for arraybuffers is now much more complex, so use cranelift
- misc updates for deprecated fns
- v8 default stack size is too small now, causing stack overflow exceptions in some tests
- add syscall shim to support new syscall in old sysroot
33b19d0
to
9817762
Compare
ext/ffi/turbocall.rs
Outdated
@@ -1559,19 +1609,52 @@ mod tests { | |||
// See https://godbolt.org/z/hqv63M3Ko |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These links are probably out of date now?
7ef4c60
to
bd8945f
Compare
// https://github.com/microsoft/vscode/blob/48d4ba271686e8072fc6674137415bc80d936bc7/extensions/typescript-language-features/src/configuration/configuration.ts#L213-L214 | ||
DenoSubcommand::Lsp => vec!["--max-old-space-size=3072".to_string()], | ||
DenoSubcommand::Lsp => vec![ | ||
"--stack-size=1024".to_string(), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Given that we need to always enable it, we should probably use it by default in deno_core
. WDYT?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
its just a hack for now, i'm asking around about raising the default stack size in v8 to account for the recent change that caused this.
@@ -2073,6 +2073,7 @@ fn napi_get_value_bool( | |||
return napi_clear_last_error(env_ptr); | |||
} | |||
|
|||
#[allow(deprecated)] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should get on updating these deprecated calls ASAP after landing this PR
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's go
50522b8
to
a28b980
Compare