-
Notifications
You must be signed in to change notification settings - Fork 32
Updates and remove redundant settings #101
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
sbt.version = 1.10.6 | ||
sbt.version = 1.10.7 | ||
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
scalaVersion := "3.3.3" // A Long Term Support version. | ||
scalaVersion := "3.3.5" // A Long Term Support version. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. A timely & positive edit when created but Overcome By Events: PR #109. |
||
|
||
enablePlugins(ScalaNativePlugin) | ||
|
||
|
@@ -10,7 +10,7 @@ import scala.scalanative.build._ | |
|
||
// defaults set with common options shown | ||
nativeConfig ~= { c => | ||
c.withLTO(LTO.none) // thin | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. These were here to help people with these basic settings (using the defaults) with some suggestions in the comments for settings you might want to select - maybe the comments where not explained well but that was deliberate as the first thing people asked for was how to optimize and such. |
||
.withMode(Mode.debug) // releaseFast | ||
.withGC(GC.immix) // commix | ||
c.withSourceLevelDebuggingConfig( | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Perhaps the current The problem with minimalism, especially for people just joining the party, is the balance between how may people a comment gains and how many people it looses/confuses. I'd ask to be given Wisdom but As one voice among many, I like having that section, with some alternatives and use both it and the alternative quick reference all the time "now, once again, is that releaseFast or release-fast?" |
||
SourceLevelDebuggingConfig.enabled | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I've never used this feature. What does it do? Since it is non-default, perhaps it could be put either as a comment Another alternative would be, if overhead in eventual binary is low, I think that Eric formulated the idea of having a README of links There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Folks, Where do we go from here? I am hoping that "Hell in a handbasket" is not one of the suggestions. Thanks, There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Must be getting late there. :-) There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I used to (attempt to) teach young adults. They taught me to never ask an |
||
) // enable rich stacktraces | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
sbt.version = 1.10.6 | ||
sbt.version = 1.10.7 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Superseded by PR #109 |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
addSbtPlugin("org.scala-native" % "sbt-scala-native" % "0.5.1") | ||
addSbtPlugin("org.scala-native" % "sbt-scala-native" % "0.5.6") | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. A merciful and well needed update at the time of creation but |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1 @@ | ||
object Main { | ||
def main(args: Array[String]): Unit = | ||
println("Hello, world!") | ||
} | ||
@main def hello = println("Hello world from Scala Native!") | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I, for one, like this change and would like to see it proceed. Not an earth shaking changes, but I have "Hello world", of various There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think there was |
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.
I believe that a later PR (perhaps #109) has superseded this change.