fix(xtask): commit Cargo.lock in upgrade_wasmtime
And add missing zig dependency update
This commit is contained in:
parent
721b0e8b11
commit
88e323ca43
1 changed files with 5 additions and 1 deletions
|
|
@ -67,6 +67,10 @@ fn update_zig(version: &Version) -> Result<()> {
|
|||
let (_, _) = (old_lines.next(), old_lines.next());
|
||||
zig_fetch(new_lines, version, "aarch64-macos-c-api.tar.xz")?;
|
||||
}
|
||||
" .wasmtime_c_api_aarch64_windows = .{" => {
|
||||
let (_, _) = (old_lines.next(), old_lines.next());
|
||||
zig_fetch(new_lines, version, "aarch64-windows-c-api.zip")?;
|
||||
}
|
||||
" .wasmtime_c_api_riscv64gc_linux = .{" => {
|
||||
let (_, _) = (old_lines.next(), old_lines.next());
|
||||
zig_fetch(new_lines, version, "riscv64gc-linux-c-api.tar.xz")?;
|
||||
|
|
@ -119,7 +123,7 @@ pub fn run(args: &UpgradeWasmtime) -> Result<()> {
|
|||
create_commit(
|
||||
&repo,
|
||||
&format!("build(deps): bump wasmtime-c-api to v{}", args.version),
|
||||
&["lib/Cargo.toml", "build.zig.zon"],
|
||||
&["lib/Cargo.toml", "Cargo.lock", "build.zig.zon"],
|
||||
)?;
|
||||
|
||||
Ok(())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue