Turbopack: Fix debugging in napi for next-api (#53889)
### What? #51883: > Node.js sets stdout to non-blocking by default, rust expects it to be blocking > > so when logging a lot of data, it can happen that rust receives an error while writing causing it to panic, the error is just that the resource is temporarily unavailable, but rust doesn't handle this case > > See https://github.com/napi-rs/napi-rs/issues/1630 ### Why? ### How? This moves the work done in #51883 into the `loadBindings` function used by both next-api and next-dev.
Showing
Please
register
or
sign in
to comment