mirror of
https://github.com/denoland/rusty_v8.git
synced 2024-11-21 15:04:33 -05:00
Add faq for non-main thread init crash (#1384)
This commit is contained in:
parent
20262ae895
commit
e4cdf58665
1 changed files with 8 additions and 0 deletions
|
@ -167,6 +167,14 @@ increasing amount of V8's API in Rust.
|
|||
|
||||
Use `export GN_ARGS="no_inline_line_tables=false"` during build.
|
||||
|
||||
**My program crashes when initializing on non-main thread**
|
||||
|
||||
Initializing V8 on a non-main thread with the CPUs PKU feature enabled might
|
||||
lead to crashes. You can work around this problem by using
|
||||
`v8::new_unprotected_default_platform`.
|
||||
|
||||
See https://github.com/denoland/rusty_v8/issues/1381
|
||||
|
||||
## For maintainers
|
||||
|
||||
**Cut a release**
|
||||
|
|
Loading…
Reference in a new issue