diff options
| author | bors <bors@rust-lang.org> | 2023-04-17 18:43:47 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-04-17 18:43:47 +0000 |
| commit | b92b7c0d949a1260ddbb5f6e7a32b44f51a68921 (patch) | |
| tree | 9e5ebabe1794718755cd84109f1e587d04d4c393 /tests/mir-opt/lower_array_len.array_len.NormalizeArrayLen.panic-unwind.diff | |
| parent | 1f926410934fdaa964093afe9b215a7b05508f5b (diff) | |
| parent | 4db87f9346d5bcda4fe0d6bded9a3862b186b37e (diff) | |
| download | rust-b92b7c0d949a1260ddbb5f6e7a32b44f51a68921.tar.gz rust-b92b7c0d949a1260ddbb5f6e7a32b44f51a68921.zip | |
Auto merge of #14598 - lowr:fix/release-channel-from-str, r=lnicola
Fix release channel detection We detect toolchain's release channel by looking at pre-release identifier of cargo/rustc's version string. It's empty for stable, "beta" or "beta.x" for beta, and "nightly" for nightly. See rust-lang/rust's [bootstrap code] for how the version string is determined. [bootstrap code]: https://github.com/rust-lang/rust/blob/e49122fb1ca87a6c3e3c22abb315fc75cfe8daed/src/bootstrap/lib.rs#L1244
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_len.NormalizeArrayLen.panic-unwind.diff')
0 files changed, 0 insertions, 0 deletions
