Bump Wasmtime to 2.0.0 (#4874)
This commit replaces #4869 and represents the actual version bump that should have happened had I remembered to bump the in-tree version of Wasmtime to 1.0.0 prior to the branch-cut date. Alas!
This commit is contained in:
@@ -323,6 +323,9 @@ fn bump_version(krate: &Crate, crates: &[Crate], patch: bool) {
|
||||
/// releases. This may end up getting tweaked as we stabilize crates and start
|
||||
/// doing more minor/patch releases, but for now this should do the trick.
|
||||
fn bump(version: &str, patch_bump: bool) -> String {
|
||||
if version == "0.41.0" {
|
||||
return String::from("2.0.0");
|
||||
}
|
||||
let mut iter = version.split('.').map(|s| s.parse::<u32>().unwrap());
|
||||
let major = iter.next().expect("major version");
|
||||
let minor = iter.next().expect("minor version");
|
||||
|
||||
Reference in New Issue
Block a user