Skip to content

Commit

Permalink
Add faq for non-main thread init crash (#1384)
Browse files Browse the repository at this point in the history
  • Loading branch information
littledivy authored Jan 6, 2024
1 parent 20262ae commit e4cdf58
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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**
Expand Down

0 comments on commit e4cdf58

Please sign in to comment.