An object describing how to configure the Scala Native toolchain.
- Companion:
- object
Value members
Abstract methods
Base name for executable or library, typically the project name.
Base name for executable or library, typically the project name.
Shall linker check that NIR is well-formed after every phase?
Shall linker check that NIR is well-formed after every phase?
Should build fail if it detects usage of unsupported feature on given platform
Should build fail if it detects usage of unsupported feature on given platform
Shall linker dump intermediate NIR after every phase?
Shall linker dump intermediate NIR after every phase?
Shall the resource files be embedded in the resulting binary file? Allows the use of getClass().getResourceAsStream() on the included files. Will not embed files with certain extensions, including ".c", ".h", ".scala" and ".class".
Shall the resource files be embedded in the resulting binary file? Allows the use of getClass().getResourceAsStream() on the included files. Will not embed files with certain extensions, including ".c", ".h", ".scala" and ".class".
Map of user defined properties resolved at linktime
Map of user defined properties resolved at linktime
A glob pattern that matches list of files to exclude from embedding into the executable.
A glob pattern that matches list of files to exclude from embedding into the executable.
A glob pattern that matches list of files to embed into the executable.
A glob pattern that matches list of files to embed into the executable.
List of service providers which shall be allowed in the final binary
List of service providers which shall be allowed in the final binary
Configuration for LLVM metadata generation controlling source level debugging support
Configuration for LLVM metadata generation controlling source level debugging support
Optional target triple that defines current OS, ABI and CPU architecture.
Optional target triple that defines current OS, ABI and CPU architecture.
Create a new config with given base artifact name.
Create a new config with given base artifact name.
Warning: must be unique across project modules.
Create a new config with given checkFatalWarnings value.
Create a new config with given checkFatalWarnings value.
Create a new config with given checkFeatures value.
Create a new config with given checkFeatures value.
Create a new config with updated compilation options.
Create a new config with updated compilation options.
Create a new NativeConfig enabling embedded resources in the
executable with a value of true
where false
is default.
Create a new NativeConfig enabling embedded resources in the
executable with a value of true
where false
is default.
Create a new config with given incrementalCompilation value
Create a new config with given incrementalCompilation value
Create a new config with given behavior for stubs.
Create a new config with given behavior for stubs.
Create a new config with updated linktime properites
Create a new config with updated linktime properites
Create a new config with support for multithreading
Create a new config with support for multithreading
Create a new NativeConfig with updated resource exclude patterns.
Create a new NativeConfig with updated resource exclude patterns.
Create a new NativeConfig with updated resource include patterns.
Create a new NativeConfig with updated resource include patterns.
Create a new NativeConfig with a updated list of service providers allowed in the final binary
Create a new NativeConfig with a updated list of service providers allowed in the final binary
Update NativeConfig with given SourceLevelDebuggingConfig
Update NativeConfig with given SourceLevelDebuggingConfig
Create a new config given a target triple. Delegates to withTargetTriple(Option[String]).
Create a new config given a target triple. Delegates to withTargetTriple(Option[String]).
- Value parameters:
- value
target triple as a String
- Returns:
a new NativeConfig with a new target triple
Concrete methods
Are we targeting a 32-bit platform?
Are we targeting a 32-bit platform?
- Returns:
true if 32 bit, false if 64 bit, unknown, or 16 bit
Create a new config with given compilation options.
Create a new config with given compilation options.
Create a new config with given linktime properites
Create a new config with given linktime properites
Create a new NativeConfig with given SourceLevelDebuggingConfig
Create a new NativeConfig with given SourceLevelDebuggingConfig