Skip to content

Commit 35f4fb9

Browse files
mkatychevrvolosatovs
authored andcommitted
simplified default binstall tempalte; added armv6 linux support
1 parent 1be4503 commit 35f4fb9

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

Cargo.toml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,14 @@ license.workspace = true
1010
repository.workspace = true
1111

1212
[package.metadata.binstall]
13-
pkg-url = "{repo}/releases/download/v{version}/wit-deps-{target-arch}-{target-vendor}-{target-family}-musl"
13+
pkg-url = "{repo}/releases/download/v{version}/wit-deps-{target}"
1414
pkg-fmt = "bin"
15-
[package.metadata.binstall.overrides.aarch64-apple-darwin]
16-
pkg-url = "{repo}/releases/download/v{version}/wit-deps-{target-arch}-{target-vendor}-{target-family}"
17-
[package.metadata.binstall.overrides.x86_64-apple-darwin]
18-
pkg-url = "{repo}/releases/download/v{version}/wit-deps-{target-arch}-{target-vendor}-{target-family}"
15+
[package.metadata.binstall.overrides.aarch64-unknown-linux-gnu]
16+
pkg-url = "{repo}/releases/download/v{version}/wit-deps-{target-arch}-{target-vendor}-{target-family}-musl"
17+
[package.metadata.binstall.overrides.x86_64-unknown-linux-gnu]
18+
pkg-url = "{repo}/releases/download/v{version}/wit-deps-{target-arch}-{target-vendor}-{target-family}-musl"
19+
[package.metadata.binstall.overrides.armv7-unknown-linux-gnu]
20+
pkg-url = "{repo}/releases/download/v{version}/wit-deps-{target-arch}-{target-vendor}-{target-family}-musleabihf"
1921
[package.metadata.binstall.overrides.x86_64-pc-windows-msvc]
2022
# GNU toolchain should work on windows MSVC targets
2123
pkg-url = "{repo}/releases/download/v{version}/wit-deps-{target-arch}-{target-vendor}-{target-family}-gnu"

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ sockets = "https://github.com/WebAssembly/wasi-sockets/archive/main.tar.gz"
1818
sql = "https://github.com/WebAssembly/wasi-sql/archive/main.tar.gz"
1919

2020
# Pin to a tag
21-
io = "https://github.com/rvolosatovs/wasi-io/archive/v0.1.0.tar.gz" # this fork renames `streams` interface for compatiblity with wasi-snapshot-preview1
21+
io = "https://github.com/rvolosatovs/wasi-io/archive/v0.1.0.tar.gz" # this fork renames `streams` interface for compatibility with wasi-snapshot-preview1
2222

2323
# Pin a dependency to a particular revision and source digests. Each digest is optional
2424
[keyvalue]
@@ -28,7 +28,7 @@ sha512 = "7bc43665a9de73ec7bef075e32f67ed0ebab04a1e47879f9328e8e52edfb35359512c8
2828

2929
```
3030

31-
A source specfication can also be a structure with the following fields:
31+
A source specification can also be a structure with the following fields:
3232

3333
- `url` - same format as the URL string
3434
- `sha256` - (optional) hex-encoded sha256 digest of the contents of the URL

0 commit comments

Comments
 (0)