pyodide / pyodide/pyodide

Passing custom flags to `cargo`

Open
#2,706 7 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
14.8k
Forks
1k
Avg merge
20h 29m
Merged PRs (30d)
19

Description

I'm currently trying to get [`tokenizers`](https://github.com/huggingface/tokenizers/) working in Pyodide, and this requires using the `unstable_wasm` feature. If I understand correctly, this means that I need to pass `--features unstable_wasm` to cargo, which would require something like `built.cargoflags` in `meta.yaml`? Or is there some other way to achieve this that could suffice for now?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.