-
Notifications
You must be signed in to change notification settings - Fork 178
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
Wasm web support #620
Wasm web support #620
Conversation
https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html
|
@gwenn Fixed. Tests pass locally for me, but if you can approve us to run workflows we can go through CI. Also happy to keep/remove the Nix build from this PR (can move it to a separate PR if its of interest) |
nushell/nushell@65008bb ? |
Not sure what Happy to keep or remove the nix build, up to you. |
And there is a related pending PR: |
fix .gitignore and Cargo.lock
2c4d135
to
0a692fc
Compare
I've removed the nix stuff. The PR should be minimal now. |
@gwenn I guess it should be easy to integrate this into your PR? |
Except it is redundant with PR #604 |
It's not redundant. This PR is a minimal change of 25 lines which gets That said, if you guys prefer to wait for #604 to have wasm support, that's fine with us, and we can just fork off a separate crate for our purposes in the meantime. |
|
54c5ecc
to
853d557
Compare
@gwenn I've fixed the comments and warnings. Let me know if there is anything else you want to change. |
@gwenn Any updates on this? It would be awkward to have to crate a new crate just to fix wasm compilation... |
I am wondering why not using |
I feel this is more explicit and meaningful. Maybe someone adds wasm (with wasi) support for this? Also one can now explicitly disable the fd-lock dependency for other cases too. |
You mean like in PR #604 ! |
- depend on kkawakam/rustyline#620 PR code - fork PR branch s.t. it can't disappear on us
- depend on kkawakam/rustyline#620 PR code - fork PR branch s.t. it can't disappear on us
work around lack of proper wasm support in rustyline. rustyline changed since we updated deps in #73, so wasm builds broke. solution: - depend on kkawakam/rustyline#620 PR code - fork PR branch s.t. it can't disappear on us
This adds: