rustic / com.osm.gradle.plugins.types.config.options.config / Build

Build

open class Build : RusticConfigurableBase, IBuild

Constructors

<init>

Build()

Properties

depInfoBaseDir

full path for the base directory for targets in depfiles

open var depInfoBaseDir: String?

incremental

whether or not to enable incremental compilation If incremental is not set, then the value from the profile is used.

open var incremental: Boolean?

jobs

number of parallel jobs, defaults to # of CPUs

open var jobs: Int?

rustc

the rust compiler tool

open var rustc: String?

rustcWrapper

run this wrapper instead of rustc; useful to set up a build cache tool such as sccache

open var rustcWrapper: String?

rustDoc

the doc generator tool

open var rustDoc: String?

rustDocFlags

custom flags to pass to rustdoc

open var rustDocFlags: Iterable<String?>?

rustFlags

custom flags to pass to all compiler invocations

open var rustFlags: Iterable<String?>?

target

build for the target triple (ignored by cargo install)

open var target: String?

targetDir

path of where to place all generated artifacts

open var targetDir: String?

Functions

depInfoBaseDir

open fun depInfoBaseDir(value: String?): Unit

incremental

open fun incremental(value: Boolean?): Unit

jobs

open fun jobs(value: Int?): Unit

rustc

open fun rustc(value: String?): Unit

rustcWrapper

open fun rustcWrapper(value: String?): Unit

rustDoc

open fun rustDoc(value: String?): Unit

rustDocFlags

open fun rustDocFlags(value: Iterable<String?>?): Unit

rustFlags

open fun rustFlags(value: Iterable<String?>?): Unit

target

open fun target(value: String?): Unit

targetDir

open fun targetDir(value: String?): Unit