rustic / com.osm.gradle.plugins.types.variants.options.config.target / Triple

Triple

class Triple : CargoPriorityResolveBase<ITriple>, ITriple

Constructors

<init>

Triple(target: String?, args: List<ITriple?>)

Properties

ar

Same but for the library archiver which is passed to rustc via -C ar=.

val ar: String?

environmentPrefix

val environmentPrefix: String

environmentPropertyMapper

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

linker

This is the linker which is passed to rustc (via -C linker=) when the $triple is being compiled for. By defaulhis flag is not passed to the compiler.

val linker: String?

runner

If a runner is provided, compiled targets for the $triple will be executed by invoking the specified runner executable with actual target as first argument. This applies to cargo run, cargo test and cargo bench commands. By default compiled targets are executed directly.

val runner: String?

rustFlags

custom flags to pass to all compiler invocations that target $triple this value overrides build.rustflags when both are present

val rustFlags: Iterable<String?>?

target

val target: String?