sealed trait Config extends AnyRef
An object describing how to configure the Scala Native toolchain.
- Alphabetic
- By Inheritance
- Config
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
abstract
def
classPath: Seq[Path]
Sequence of all NIR locations.
- abstract def compilerConfig: NativeConfig
-
abstract
def
logger: Logger
The logger used by the toolchain.
-
abstract
def
mainClass: String
Entry point for linking.
-
abstract
def
selectedMainClass: Option[String]
Optional main class for linking, introduced for binary compatiblity.
-
abstract
def
withClassPath(value: Seq[Path]): Config
Create a new config with given nir paths.
- abstract def withCompilerConfig(fn: (NativeConfig) ⇒ NativeConfig): Config
- abstract def withCompilerConfig(value: NativeConfig): Config
-
abstract
def
withLogger(value: Logger): Config
Create a new config with the given logger.
-
abstract
def
withMainClass(value: String): Config
Create new config with given mainClass point.
-
abstract
def
withWorkdir(value: Path): Config
Create a new config with given directory.
-
abstract
def
workdir: Path
Directory to emit intermediate compilation results.
-
abstract
def
nativelib: Path
Path to the nativelib jar.
Path to the nativelib jar.
- Annotations
- @deprecated
- Deprecated
(Since version 0.4.0) Not needed: discovery is internal
-
abstract
def
withNativelib(value: Path): Config
Create a new config with given path to nativelib.
Create a new config with given path to nativelib.
- Annotations
- @deprecated
- Deprecated
(Since version 0.4.0) Not needed: discovery is internal
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
LTO: LTO
The LTO mode to use used during a release build.
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
check: Boolean
Shall linker check that NIR is well-formed after every phase?
-
def
clang: Path
The path to the
clangexecutable. -
def
clangPP: Path
The path to the
clang++executable. -
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
compileOptions: Seq[String]
The compilation options passed to LLVM.
-
def
dump: Boolean
Shall linker dump intermediate NIR after every phase?
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
gc: GC
The garbage collector to use.
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
linkStubs: Boolean
Should stubs be linked?
-
def
linkingOptions: Seq[String]
The options passed to LLVM's linker.
-
def
mode: Mode
Compilation mode.
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()