Draft: Allow configuring toolchain directory
Fixes #57.
Changes
-
Renamed
RustLinkPlugin
toRustPlugin
, as it now introduces therust {}
block. -
Renamed
CargoHost
toRustHost
. -
Users can now configure the path of Rust installation with
rust.installationDirectory
.plugins { id("io.gitlab.trixnity.rust.kotlin.multiplatform") } rust { installationDirectory = File("/path/to/dir/containing/cargo/rustup") }
This path is used when invoking
cargo
orrustup
in the plugins.
To-Dos
-
Redesign DSL kotlin { rust { useRustUpLinker() } rust { hostNativeTarget() } }
Edited by Chanjung Kim