Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Determine rust channel by parsing rustc output
The RUSTUP_TOOLCHAIN environment variable might not always be present. This is the case for e.g. NixOS where rust is routinely not installed via rustup, thus not setting this env var, causing build failures. Instead, build.rs will now run `rustc -V` and check if the output contains the word "nightly".
- Loading branch information