-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
polars can not be built for wasm from v0.29 #8783
Comments
0.30 can compile pass |
@Dirreke this is still broken with the same compile errors reported in the original post. repro: $ cargo new bug8783
$ cd bug8783
$ echo 'polars = { version = "0.30", default-features = false }' >> Cargo.toml
$ cargo build --target wasm32-unknown-unknown Personally I also have the following features enabled and working fine in 0.28: Regressions like this are preventable with better coverage, we should be able to build the wasm target from the workflow in May I suggest keeping this issue open until CI tests have been added for the WASM target and are passing? |
you are right, I did the wrong test. Actually, it still broke |
hi guys. want to ask has this issue been solved? because we have been trying it out and it still causes bugs. just wanted to know if latest polars can use WASM |
yeah,it has been solved in 0.33 |
i think it's still broken, i have just created an issue in wasm_bindgen issues that describe an encountered problem.https://github.com/rustwasm/wasm-bindgen/issues/3661 |
@kAif-gh you may have disabled features that you were relying on. You can enable the features you need, e.g. |
Polars version checks
I have checked that this issue has not already been reported.
I have confirmed this bug exists on the latest version of Polars.
Issue description
V0.29 can not be built for wasm.
It has two problem
POOL
has no methodcurrent_thread_index()
for wasm, which is introduced in perf(rust, python): improve nested grouptuples related code #8618 at hashing.rscrate
home
which used in polars-io to replace cratedir
can not be built for wasm. Move to the smaller, cargo-team maintainedhome
crate #8449Reproducible example
POOL
has no methodcurrent_thread_index()
for wasm, which is introduced in # 8618 at hashing.rsfor wasm, it has a similar method
current_num_threads()
(I'm not sure if they have the same functionality ) atwasm.rs
. Perhaps it will helphome
which used in polars-io to replace cratedir
can not be built for wasm. Move to the smaller, cargo-team maintainedhome
crate #8449Installed versions
The text was updated successfully, but these errors were encountered: