-
Notifications
You must be signed in to change notification settings - Fork 4
pin versions #6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pin versions #6
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for doing the work for me 😄
Just one (or maybe three) small comment(s) to not confuse people that are getting dependencies from the nix flake.
separate-memory-transfer/README.md
Outdated
> wasm-bindgen ../target/wasm32-unknown-unknown/release/separate_memory_transfer.wasm --target=no-modules --out-dir=pkg | ||
> python ../server.py | ||
```sh | ||
cargo install --version 0.2.81 wasm-bindgen-cli --force |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cargo install --version 0.2.81 wasm-bindgen-cli --force | |
cargo install --version 0.2.81 wasm-bindgen-cli --force # if you aren't getting it from the nix flake |
(For people using nix, the flake.nix
/flake.lock
files already provide the correct version of wasm-bindgen-cli
)
separate-memory/README.md
Outdated
> wasm-bindgen ../target/wasm32-unknown-unknown/release/separate_memory.wasm --target=no-modules --out-dir=pkg | ||
> python ../server.py | ||
```sh | ||
cargo install --version 0.2.81 wasm-bindgen-cli --force |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
here too
shared-memory/README.md
Outdated
> wasm-bindgen ../target/wasm32-unknown-unknown/release/shared_memory.wasm --target=no-modules --out-dir=pkg | ||
> python ../server.py | ||
```sh | ||
cargo install --version 0.2.81 wasm-bindgen-cli --force |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
and here
Rubbing my two braincells together and clicking a few more links led me to rust-lang/rust#113152 so I deleted all the Cargo.lock files and recreated the workspace lockfile - now the latest nightly works. |
Ah, I originally started with three separate workspaces and then when I merged it into one I guess I forgot that there should only be the top-level lockfile... Thanks! |
Closes #5
Here's a starting point :)
I think nightly is only needed for shared-memory. I went with
nightly-2023-06-15
because the more recent ones broke for reasons that are beyond me so I blindly went with this answer.