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

Build

class Build : CargoPriorityResolveBase<IBuild>, IBuild

Constructors

<init>

Build(args: List<IBuild?>)

Properties

depInfoBaseDir

full path for the base directory for targets in depfiles

val depInfoBaseDir: String?

environmentPrefix

val environmentPrefix: String

environmentPropertyMapper

val environmentPropertyMapper: Map<String, () -> Any?>

incremental

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

val incremental: Boolean?

jobs

number of parallel jobs, defaults to # of CPUs

val jobs: Int?

rustc

the rust compiler tool

val rustc: String?

rustcWrapper

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

val rustcWrapper: String?

rustDoc

the doc generator tool

val rustDoc: String?

rustDocFlags

custom flags to pass to rustdoc

val rustDocFlags: Iterable<String?>?

rustFlags

custom flags to pass to all compiler invocations

val rustFlags: Iterable<String?>?

target

build for the target triple (ignored by cargo install)

val target: String?

targetDir

path of where to place all generated artifacts

val targetDir: String?