Browse Source

Fix `cargo binstall` metadata (#8855)

I forgot that `{name}` expands to `wasmtime-cli` here when our packages
are named `wasmtime`.
pull/8862/head
Alex Crichton 5 months ago
committed by GitHub
parent
commit
81efaa7384
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 16
      Cargo.toml

16
Cargo.toml

@ -14,22 +14,22 @@ default-run = "wasmtime"
rust-version.workspace = true rust-version.workspace = true
[package.metadata.binstall] [package.metadata.binstall]
pkg-url = "{repo}/releases/download/v{version}/{name}-v{version}-{target-arch}-{target-family}{archive-suffix}" pkg-url = "{repo}/releases/download/v{version}/wasmtime-v{version}-{target-arch}-{target-family}{archive-suffix}"
bin-dir = "{name}-{version}-{target-arch}-{target-family}/{bin}{binary-ext}" bin-dir = "wasmtime-{version}-{target-arch}-{target-family}/{bin}{binary-ext}"
pkg-fmt = "txz" pkg-fmt = "txz"
[package.metadata.binstall.overrides.x86_64-apple-darwin] [package.metadata.binstall.overrides.x86_64-apple-darwin]
pkg-url = "{repo}/releases/download/v{version}/{name}-v{version}-{target-arch}-macos{archive-suffix}" pkg-url = "{repo}/releases/download/v{version}/wasmtime-v{version}-{target-arch}-macos{archive-suffix}"
bin-dir = "{name}-v{version}-{target-arch}-macos/{bin}{binary-ext}" bin-dir = "wasmtime-v{version}-{target-arch}-macos/{bin}{binary-ext}"
[package.metadata.binstall.overrides.aarch64-apple-darwin] [package.metadata.binstall.overrides.aarch64-apple-darwin]
pkg-url = "{repo}/releases/download/v{version}/{name}-v{version}-{target-arch}-macos{archive-suffix}" pkg-url = "{repo}/releases/download/v{version}/wasmtime-v{version}-{target-arch}-macos{archive-suffix}"
bin-dir = "{name}-v{version}-{target-arch}-macos/{bin}{binary-ext}" bin-dir = "wasmtime-v{version}-{target-arch}-macos/{bin}{binary-ext}"
[package.metadata.binstall.overrides.x86_64-pc-windows-msvc] [package.metadata.binstall.overrides.x86_64-pc-windows-msvc]
pkg-fmt = "zip" pkg-fmt = "zip"
[package.metadata.binstall.overrides.x86_64-pc-windows-gnu] [package.metadata.binstall.overrides.x86_64-pc-windows-gnu]
pkg-fmt = "zip" pkg-fmt = "zip"
[package.metadata.binstall.overrides.x86_64-unknown-linux-musl] [package.metadata.binstall.overrides.x86_64-unknown-linux-musl]
pkg-url = "{repo}/releases/download/v{version}/{name}-v{version}-{target-arch}-musl{archive-suffix}" pkg-url = "{repo}/releases/download/v{version}/wasmtime-v{version}-{target-arch}-musl{archive-suffix}"
bin-dir = "{name}-v{version}-{target-arch}-musl/{bin}{binary-ext}" bin-dir = "wasmtime-v{version}-{target-arch}-musl/{bin}{binary-ext}"
[lints] [lints]
workspace = true workspace = true

Loading…
Cancel
Save