Unofficial Bitrise step to download and install the Rust Toolchain to make it available in the workflow.
Inputs
Input Key | Description | Values | Default |
---|---|---|---|
rust_version |
Sets the default toolchain. If blank, defaults to stable . |
stable , nightly , [...] |
stable |
auto_update_toolchain |
If true , auto updates the Rust Toolchain on every run (only on stable /nightly ). |
true , false |
false |
cache_level |
If set to all , appends the cargo and rustup main folders to Bitrise $BITRISE_CACHE_INCLUDE_PATHS env var that will be picked up by the Cache:Push step later on (if present). This speeds up the entire step quite a lot after the first invocation. |
all , none |
none |
show_exported_envs |
If true , shows the exported envs with the rustc , cargo and rustup versions at the end of the step. |
true , false |
false |
Outputs
Environment Variable | Description |
---|---|
RUSTUP_VERSION |
This output will include the rustup version (from rustup -V ). |
RUSTC_VERSION |
This output will include the rustc version (from rustc -V ). |
CARGO_VERSION |
This output will include the cargo version (from cargo -V ). |
Pull Requests and Issues are welcome against this repository.
For pull requests, work on your changes in a forked repository and use the Bitrise CLI to run step tests locally.
Learn more about developing steps: