Fix release channel detection

See bootstrap code in rust-lang/rust for versioning details: e49122fb1c/src/bootstrap/lib.rs (L1244)
This commit is contained in:
Ryo Yoshida 2023-04-18 01:41:40 +09:00
parent 1f92641093
commit 4db87f9346
No known key found for this signature in database
GPG key ID: E25698A930586171
4 changed files with 6 additions and 6 deletions

View file

@ -779,7 +779,7 @@ fn project_json_to_crate_graph(
CrateOrigin::Local { repo: None, name: None }
},
target_layout.clone(),
None,
channel,
);
if *is_proc_macro {
if let Some(path) = proc_macro_dylib_path.clone() {