Trait/Object

scala.scalanative.build

Config

Related Docs: object Config | package build

Permalink

sealed trait Config extends AnyRef

An object describing how to configure the Scala Native toolchain.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Config
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def classPath: Seq[Path]

    Permalink

    Sequence of all NIR locations.

  2. abstract def compilerConfig: NativeConfig

    Permalink
  3. abstract def logger: Logger

    Permalink

    The logger used by the toolchain.

  4. abstract def mainClass: String

    Permalink

    Entry point for linking.

  5. abstract def withClassPath(value: Seq[Path]): Config

    Permalink

    Create a new config with given nir paths.

  6. abstract def withCompilerConfig(fn: (NativeConfig) ⇒ NativeConfig): Config

    Permalink
  7. abstract def withCompilerConfig(value: NativeConfig): Config

    Permalink
  8. abstract def withLogger(value: Logger): Config

    Permalink

    Create a new config with the given logger.

  9. abstract def withMainClass(value: String): Config

    Permalink

    Create new config with given mainClass point.

  10. abstract def withWorkdir(value: Path): Config

    Permalink

    Create a new config with given directory.

  11. abstract def workdir: Path

    Permalink

    Directory to emit intermediate compilation results.

  12. abstract def nativelib: Path

    Permalink

    Path to the nativelib jar.

    Path to the nativelib jar.

    Annotations
    @deprecated
    Deprecated

    (Since version 0.4.0) Not needed: discovery is internal

  13. abstract def withNativelib(value: Path): Config

    Permalink

    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

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def LTO: LTO

    Permalink

    The LTO mode to use used during a release build.

  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def check: Boolean

    Permalink

    Shall linker check that NIR is well-formed after every phase?

  7. def clang: Path

    Permalink

    The path to the clang executable.

  8. def clangPP: Path

    Permalink

    The path to the clang++ executable.

  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def compileOptions: Seq[String]

    Permalink

    The compilation options passed to LLVM.

  11. def dump: Boolean

    Permalink

    Shall linker dump intermediate NIR after every phase?

  12. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. def gc: GC

    Permalink

    The garbage collector to use.

  16. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  17. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  18. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  19. def linkStubs: Boolean

    Permalink

    Should stubs be linked?

  20. def linkingOptions: Seq[String]

    Permalink

    The options passed to LLVM's linker.

  21. def mode: Mode

    Permalink

    Compilation mode.

  22. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  23. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  24. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  25. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  26. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  27. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped