package build
- Alphabetic
- Public
- All
Type Members
-
final
class
BuildException extends Exception
Exception that is thrown when a Scala Native build fails.
- sealed trait BuildTarget extends AnyRef
-
sealed
trait
Config extends AnyRef
An object describing how to configure the Scala Native toolchain.
-
sealed abstract
class
GC extends AnyRef
Garbage Collector.
Garbage Collector. Application is going to be automatically linked with corresponding libraries that implement given collector. One of the:
* None GC. Never frees allocated memory.
* Boehm GC. Conservative mark-and-sweep garbage collector.
* Immix GC. Mostly-precise mark-region garbage collector.
* Commix GC. Mostly-precise mark-region garbage collector running concurrently.
Additional GCs might be added to the list in the future.
-
sealed abstract
class
LTO extends AnyRef
Link Time Optimization (LTO) mode to be used when during a release build.
-
trait
Logger extends AnyRef
Interface to report and/or collect messages given by the toolchain.
-
sealed abstract
class
Mode extends AnyRef
Compilation mode.
Compilation mode. Either of the two:
* Debug mode. Most optimizations are turned off to get the best linking speed. This mode is the default and is preferred for iterative development.
* Release mode. Runs all the optimizations but may take substantially longer to link the application.
Additional compilation modes might be added in the future.
-
sealed
trait
NativeConfig extends AnyRef
An object describing how to configure the Scala Native toolchain.
-
sealed
trait
OptimizerConfig extends AnyRef
An object describing how to configure the Scala Native Optimizer.
Value Members
-
object
Build
Utility methods for building code using Scala Native.
- object BuildTarget
- object Config
-
object
Discover
Utilities for discovery of command-line tools and settings required to build Scala Native applications.
- object GC
- object LTO
- object Logger
- object Mode
- object NativeConfig
- object OptimizerConfig
- object Platform