You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently you can't use Tokio's stdin/stdout support (the io-std feature flag) on WASI. But WASI does support that in wasi-cli. I believe it is supported by Node now.
This would be immensely useful for distributing Rust LSP servers as WASI modules, so I don't have to cross compile for at least 4 targets. The best Rust LSP crate I've found is tower-lsp which uses Tokio, but the easiest way to communicate with the language server client (i.e. VSCode) is over stdin/stdout.
Currently you can't use Tokio's stdin/stdout support (the
io-std
feature flag) on WASI. But WASI does support that in wasi-cli. I believe it is supported by Node now.This would be immensely useful for distributing Rust LSP servers as WASI modules, so I don't have to cross compile for at least 4 targets. The best Rust LSP crate I've found is tower-lsp which uses Tokio, but the easiest way to communicate with the language server client (i.e. VSCode) is over stdin/stdout.
See also #4827
The text was updated successfully, but these errors were encountered: