ZK-Garage / plonk

A pure Rust PLONK implementation using arkworks as a backend.
https://discord.gg/XWJdhVf37F
Mozilla Public License 2.0
295 stars 76 forks source link

Does not compile to WASM #60

Closed drewstone closed 2 years ago

drewstone commented 2 years ago

This repo is strictly pegged to std dependencies, unlike most other Arkworks repositories. Is anyone working on compiling this in WASM?

bhgomes commented 2 years ago

Yes, we're working on it. We'll add a std feature.

CPerezz commented 2 years ago

Indeed @drewstone it does compile for wasm targets. See our CI passing with these jobs: https://github.com/rust-zkp/plonk/blob/master/.github/workflows/ci.yml#L42-L44

But what it does not actually compile to is no_std targets.

Rust can compile a lot of it's std lib to WASM. The problem is that there are targets that basically do not have std. And for those is where we have a problem.

As said by @bhgomes we're working on that. But it's not on our top prio list for now.

CPerezz commented 2 years ago

Closing as no comments were made.

We can re-open if this pops up again.