Skip to content
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

Remove path from zokrates_core #110

Merged
merged 6 commits into from
Sep 1, 2018

Conversation

Schaeff
Copy link
Member

@Schaeff Schaeff commented Aug 15, 2018

Even though we've extracted resolvers for the imports outside of the core, the API still uses PathBuf, which is specific to filesystem use cases.

Move one level up for the abstraction to use simple Strings, enabling resolvers to be developed and making compiling to wasm easier.

Also add the trick mentionned here https://github.com/udoprog/udoprog.github.io/blob/master/_posts/2018-02-19-porting-rust-to-wasm.md#big-numbers to enable targeting wasm.

Todo

  • error handling in resolver

@JacobEberhardt JacobEberhardt merged commit 4733d75 into Zokrates:develop Sep 1, 2018
@Schaeff Schaeff deleted the remove-path-from-core branch September 26, 2018 12:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants