This is a build or install problem that happens on both:
- cargo 1.51.0 and rustc 1.51.0 on FreeBSD 12.2
- cargo 1.46.0 and rustc 1.47.0 on Ubuntu 20.04
Trying to install using cargo install stork-search fails with the following error:
error: expected `,`
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/stork-search-1.2.1/src/wasm.rs:38:35
|
38 | #[wasm_bindgen(js_namespace = console)]
| ^^^^^^^
error: aborting due to previous error
error: failed to compile `stork-search v1.2.1`, intermediate artifacts can be found at `/tmp/cargo-installRo2nch`
Oddly enough, if I instead clone the stork git repo, checkout v1.2.1, and build with cargo build, it works on both platforms.
This is a build or install problem that happens on both:
Trying to install using
cargo install stork-searchfails with the following error:Oddly enough, if I instead clone the stork git repo, checkout
v1.2.1, and build withcargo build, it works on both platforms.