Skip to content
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

Get openZip working on KotlinNative #1439

Merged
merged 3 commits into from
Feb 22, 2024
Merged

Conversation

swankjesse
Copy link
Member

No description provided.

Copy link
Member

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!!!

@@ -97,6 +97,9 @@ kotlin {

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

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
Member 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
Member

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
Member 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
11 checks passed
@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.

None yet

2 participants