From 661e2d23ddc2fd440e330724c30adbb12a1571de Mon Sep 17 00:00:00 2001 From: Jonas Bushart Date: Sat, 20 May 2023 18:03:52 +0200 Subject: [PATCH] Explain the new behavior in the README --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 542a423..4515c04 100644 --- a/README.md +++ b/README.md @@ -42,8 +42,9 @@ jobs: ## Inputs All inputs are optional. -If a [toolchain file](https://rust-lang.github.io/rustup/overrides.html#the-toolchain-file) (i.e., `rust-toolchain` or `rust-toolchain.toml`) is found in the root of the repository, it takes precedence. -All input values are ignored if a toolchain file exists. +If a [toolchain file](https://rust-lang.github.io/rustup/overrides.html#the-toolchain-file) (i.e., `rust-toolchain` or `rust-toolchain.toml`) is found in the root of the repository, its `toolchain` value takes precedence. +First, all items specified in the toolchain file are installed. +Afterward, the `components` and `target` specified via inputs are installed in addition to the items from the toolchain file. | Name | Description | Default | | ------------ | --------------------------------------------------------------------------------- | ------- |