Jesper Håkansson
490703b75b
test: Bump version for wasm-bindgen
10 months ago
Muhammad Hamza
0c245183c0
remove reqwest from dev-deps
...
also regenerate lockfile to remove curl and friends from Cargo.lock
2 years ago
printfn
6ca10193d4
Update dependencies
2 years ago
printfn
30f2b0a262
Correctly download libbinaryen.dylib on macos
2 years ago
printfn
f73b53c5ab
Switch from failure to anyhow
2 years ago
Philipp Krüger
0d39cced6b
Test URL-building matrix
2 years ago
Azriel Hoh
1f13f25d0f
Update tests with newer crate versions.
4 years ago
Ashley Williams
5218be592c
refactor(tool): wasm-opt is a tool variant
5 years ago
Ashley Williams
d6baf439b7
feat(command): add generate command
6 years ago
huangjj27
0a9f488a0d
fix(test): update wasm-bindgen versions to improving caching in tests
6 years ago
Nick Fitzgerald
8325d9ada4
binary-install: don't make getting a binary from a download infallible
...
Instead of panicking on unexpected states, check for them and return an
error. Also add more debug logging for when we `cargo install` wasm-bindgen.
6 years ago
Ashley Williams
a9a4237b79
feat(binstall): prepare for publish
6 years ago
daubaris
bbc759369f
nightly fmt
7 years ago
daubaris
f7c534ffe5
updated from upstream
7 years ago
Jesper Håkansson
99b9602d31
chore: Run latest rustfmt
7 years ago
Jesper Håkansson
489d3e84c2
refactor: Rename binary-install to wasm-pack-binary-install
7 years ago
Nick Fitzgerald
098eb33cea
Run cargo fmt
7 years ago
Nick Fitzgerald
4e6abcfd1d
Only read the `Cargo.toml` manifest once
...
And then keep reusing what we read, instead of re-reading it again.
Fixes #25
7 years ago
Alex Crichton
c664cfddd1
Use a global cache for all downloaded binaries
...
This commit switches wasm-pack to using a global cache for all download
binaries, living typically in a user's home directory. The intention
here is to aovid creating a `bin` folder in all wasm-pack projects and
additionally share downloads between projects to ensure that you're
downloading a minimal number of binaries from the network.
Along the way the downloading code was restructured to support a global
cache, but everything should largely be as it was before!
Closes #292
7 years ago
Jesper Håkansson
65d060cfc4
chore: Run latest rustfmt
7 years ago
Nick Fitzgerald
182c3931c3
Run cargo fmt
7 years ago
Ashley Williams
66ffe1df96
fix(style): appease cargo fmt
7 years ago
Ashley Williams
d3f8264ef7
feat(buildmode): allow --mode force to skip rustc check
7 years ago
Alex Crichton
0381aa627a
Add listing for precompiled Windows binaries
...
They're fixed on wasm-bindgen's CI, so let's download/install them!
7 years ago
Nick Fitzgerald
7ab7a3f2cb
feature: Use pre-built `wasm-bindgen` CLIs from Github releases
...
Implements downloading tarballs from `wasm-bindgen`'s GitHub releases page and
using them if the current target has pre-built binaries.
7 years ago