-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Use a parcel_filesystem crate #9682
Conversation
* Move the `parcel_resolver::fs` module into its own crate * Move our in-memory and JSDelegate implementations into that crate * Move the napi helper functions from node-bindings into another crate * Change all usages to use these functions
@@ -32,7 +32,12 @@ pub fn optimize_image(kind: String, buf: Buffer, env: Env) -> Result<JsBuffer> { | |||
match optimize_jpeg(slice) { | |||
Ok(res) => Ok( | |||
env | |||
.create_buffer_with_borrowed_data(res.as_ptr(), res.len(), res.as_mut_ptr(), finalize)? | |||
.create_buffer_with_borrowed_data( | |||
res.as_mut_ptr(), |
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.
Required due to napi bump
Did this break the REPL build? logs
When I tried rewinding further back, I ran into some other errors, ie on 0eaf926 …much log output…
|
Probably yes 😞 |
Let me fix this, thank you for reporting |
This fixes broken WASM builds since #9682 and previously added sentry changes.
In order to work on the parcel tree you'll need to run |
This fixes broken WASM builds since #9682 and previously added sentry changes.
parcel_resolver::fs
module into its own crate