-
Notifications
You must be signed in to change notification settings - Fork 361
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
Fix #2781: SN 0.4.x: Expose version of Scala Native plugin being used #2782
Fix #2781: SN 0.4.x: Expose version of Scala Native plugin being used #2782
Conversation
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 took a closer look at the log file for the failing multiarch builds.
Because it is a system file, the suggestion to recompile is not immediately useful. While my other active PR runs through CI, I can do a quick search of the web to see if this I can not access the qemu system to turn "-v" on to show the entire link command, |
Perhaps the linker suggestion to recompile with
I have run out of time this session. I suspect that a solution lies in |
Eric's PR #2788 is all green in multiarch. Anyway, I believe the failing multiarch has nothing to do with the change of this PR |
Thank you for this PR! Was the change intended to target only Scala Native development builds or the general usage including users of Scala Native in their projects? sbt:scala-native> eval nativeVersion
[info] ans: String = 0.4.5-SNAPSHOT or sbt:scala-native> eval ScalaNativePlugin.autoImport.nativeVersion
[info] ans: String = 0.4.5-SNAPSHOT I guess one of the purposes for that setting would be easier switching between SN version, and easier version updated, but in that we would get into another set of problems - we might eg. try to compile SN using 0.4.x (set using introduced setting) artifacts (eg. javalib, nativelib), using 0.5.x toolchain (set in project plugins). If this change was intended only for the SN project themself, then I don't what kind of improvement it can give us beside allowing to show SN version at this moment. |
Now that you have SN 0.4.7 out and have nothing to do but wait for the laurels to arrive There probably is no Labor Day long weekend in Europe, but I wish you a long, All in all, this issue is minor and is meant to increase, not impact, tranquility Out of order replies, in order to address the, IMO, most pertinent concern first.
This is directly modeled after the existing
Even if I did somehow become clever or informed enough and figured out to change As we know, sbt allows one to change the Scala version using the Do you still have a concern here?
I would say anyone using the Scala Native plugin. That is anyone using I have the code of this PR in my local.sbt and I find it essential. I probably I am all-right-Jack, and can pass what I have over the back fence. I do I understand & support if you decline to accept. I have bigger fish
There is a UI design issue with consistency, which is fixed by this PR. Why, beyond historical developent, |
for future readers "sbt> show NativeConfig" also reveals the currently active Scala Native version. |
Scala Native versions
This PR is submitted for Scala Native 0.4.x with the hope & intent
that it also be merged into Scala Native 0.5.0-SNAPSHOT.
PR
A developer may now easily determine the version of the Scala Native plugin being used
by sbt: