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

Triple

open class Triple : RusticConfigurableBase, ITriple

Constructors

<init>

Triple()

Properties

ar

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

open var ar: String?

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.

open var 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.

open var runner: String?

rustFlags

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

open var rustFlags: Iterable<String?>?

Functions

ar

open fun ar(value: String?): Unit

linker

open fun linker(value: String?): Unit

runner

open fun runner(value: String?): Unit

rustFlags

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