-
-
Notifications
You must be signed in to change notification settings - Fork 109
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Guard CORROSION_TOOLS_RUST_TOOLCHAIN behind rustup check
If the toolchain is not managed by rustup, then resolving the toolchain would fail, hence we instead ignore the option and fallback to the default toolchain. Also simplify the check for cargo / rustc. We check once in FindRust, then we can later just check if the variable evaulates to true or not.
- Loading branch information
Showing
2 changed files
with
53 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters