Bump cargo to 1.88; 2024 edition for kcl-lib (#7618)

This is a big one because the edition changes a fair number of things.
This commit is contained in:
Adam Chalmers
2025-06-26 17:02:54 -05:00
committed by GitHub
parent 6a2027cd51
commit 4356885aa2
100 changed files with 769 additions and 802 deletions

View File

@ -42,7 +42,7 @@ impl Build {
.to_string();
if !stable {
version = format!("{}-nightly", version);
version = format!("{version}-nightly");
}
let release_tag = if stable {
@ -59,10 +59,7 @@ impl Build {
if stable && !release_tag.contains(&version) {
// bail early if the tag doesn't match the version
// TODO: error here when we use the tags with kcl
println!(
"Tag {} doesn't match version {}. Did you forget to update Cargo.toml?",
release_tag, version
);
println!("Tag {release_tag} doesn't match version {version}. Did you forget to update Cargo.toml?");
}
build_server(sh, &version, &target)?;