Skip to content

Get openZip working on KotlinNative#1439

Merged
swankjesse merged 3 commits intomasterfrom
jwilson.0219.native_zip
Feb 22, 2024
Merged

Get openZip working on KotlinNative#1439
swankjesse merged 3 commits intomasterfrom
jwilson.0219.native_zip

Conversation

@swankjesse
Copy link
Copy Markdown
Collaborator

No description provided.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minimal zip is 22 bytes. Look at this chunker at a whopping 41!!!

val zlibTest by creating {
dependsOn(commonTest)
dependencies {
implementation(libs.test.assertk)
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will fix this wasm problem tomorrow (although I don't control when releases happen).

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was playing with it. I ran into this:

* What went wrong:
Execution failed for task ':assertk:wasmWasiNodeTest'.
> command '/Users/jwilson/.gradle/nodejs/node-v21.0.0-v8-canary202309143a48826a08-darwin-arm64/bin/node' exited with errors (exit code: 1)

Totally unclear what I did wrong. Trying to borrow config from Okio wasn’t helping much!

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should really make this public (with a little design tweak for OkHttp). We're long-past the rule of three on it.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can do. Follow-up!

@swankjesse swankjesse merged commit 20b83aa into master Feb 22, 2024
@swankjesse swankjesse deleted the jwilson.0219.native_zip branch February 22, 2024 12:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants