-
Notifications
You must be signed in to change notification settings - Fork 224
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 support for Scala Native 0.4.0 #2261
Conversation
82678e0
to
498e2c6
Compare
359d07f
to
7ab1165
Compare
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.
Looks good, linkStubs(false)
and gc(immix)
in nativeSettings can be ommited since they're using default values, but that just personal preference
Removed it then and changed to releaseFast, since it seems that full release is not finishing on scalameta. |
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.
LGTM 🚀
I'm really excited to compare the performance of Scalafmt with Scala Native vs. native-image 😁
// soft keywords might need to be written with backquotes in some places | ||
/* Soft keywords might need to be written with backquotes in some places. | ||
* Previously used match clause fails due to: | ||
* https://github.com/scala-native/scala-native/issues/2187 |
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.
Interesting! Nice job with finding a minimal repro!
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.
that was all @WojciechMazur 🎉
For performance comparison, we need to wait for SN 0.4.1, many performance regressions were fixed there. As an example, databricks/sjsonnet works around 2x faster with the current 0.4.1-SNAPSHOT in comparison to 0.4.0. Also compilation times would be much lower. |
CC @ekrich