messense
messense
I don't think you installed nightly toolchain correctly. ```bash rustup toolchain install nightly rustup target add --toolchain nightly wasm32-unknown-emscripten ``` If it still errors, try maturin git version: ```bash cargo...
You needed to install emscripten since we are doing out of tree build for pyodide.
Opened https://github.com/huggingface/tokenizers/pull/1021 to ease the process.
I've released maturin [v0.13.0-beta.8](https://github.com/PyO3/maturin/releases/tag/v0.13.0-beta.8) so you should be able to use `sudo pip install maturin==0.13.0b8` instead of `cargo install` now.
> unfortunately, it fails to compile my targets with an error that doesn't arise when using C or Golang jsonnet implementations. Can you share the exception information? We can report...
> I'm not sure I understand why [test](https://github.com/PyO3/pyo3/runs/7608199286?check_suite_focus=true) fails. What should I do to fix it? Run `TRYBUILD=overwrite cargo test` to update ui tests output, see https://github.com/dtolnay/trybuild#workflow
> While I agree that our collection interfaces can definitely be made more user-friendly, I think we should take a bit of time to design something new before adding too...
Here is how [napi-rs](https://github.com/napi-rs/napi-rs) does typescript `.d.ts` file generation for inspiration: https://github.com/napi-rs/napi-rs/pull/696/commits/741dd93aff5a50954fca45ba3c6a84a6d562fc8f
https://github.com/changesets/changesets but in TypeScript, there is [a similar project in Rust](https://github.com/DmitryDodzin/mol) but it doesn't seem mature enough.
Hitting #1088 when I'm trying to expose [crfs::Model](https://docs.rs/crfs/0.1.3/crfs/struct.Model.html) which has a lifetime parameter to Python. It would be great if this code works when `data` is a Python managed buffer....