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

Add scala-native cross build #414

Merged
merged 12 commits into from Aug 5, 2022
Merged

Add scala-native cross build #414

merged 12 commits into from Aug 5, 2022

Conversation

mpilquist
Copy link
Contributor

No description provided.

chunkSize: Int
) extends Codec[A]:

throw new UnsupportedOperationException("zlib not yet supported on Scala Native")
Copy link
Contributor

Choose a reason for hiding this comment

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

Instead of copying these files I suspect you can rename the jvm folder jvm-native. Pretty sure it's supported.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I deleted this instead :)

Comment on lines +36 to +37
val utf8: Charset = Charset.forName("UTF-8").nn
val ascii: Charset = Charset.forName("US-ASCII").nn
Copy link
Contributor

Choose a reason for hiding this comment

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

Without running tests no idea if this works, or why it had to be written differently for JS /shrug

@mpilquist mpilquist merged commit 0ecc96c into main Aug 5, 2022
@mpilquist mpilquist deleted the topic/native branch August 5, 2022 17:21
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