Skip to content

Commit

Permalink
disbled scala-native debug in master
Browse files Browse the repository at this point in the history
  • Loading branch information
rssh committed Aug 28, 2024
1 parent 772aa73 commit 5191d40
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,11 @@ lazy val cps = crossProject(JSPlatform, JVMPlatform, NativePlatform)
).nativeSettings(
libraryDependencies += "org.scala-native" %%% "junit-runtime" % nativeVersion % Test,
addCompilerPlugin("org.scala-native" % "junit-plugin" % nativeVersion cross CrossVersion.full),
nativeConfig ~= {
_.withSourceLevelDebuggingConfig(_.enableAll) // enable generation of debug informations
.withOptimize(false) // disable Scala Native optimizer
.withMode(scalanative.build.Mode.debug) // compile using LLVM without optimizations
}
//nativeConfig ~= {
// _.withSourceLevelDebuggingConfig(_.enableAll) // enable generation of debug informations
// .withOptimize(false) // disable Scala Native optimizer
// .withMode(scalanative.build.Mode.debug) // compile using LLVM without optimizations
//}

)

Expand Down

0 comments on commit 5191d40

Please sign in to comment.