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

Add stdlib as a Rust crate #1

Merged
merged 1 commit into from
Dec 1, 2020
Merged

Add stdlib as a Rust crate #1

merged 1 commit into from
Dec 1, 2020

Conversation

kevaundray
Copy link
Contributor

No description provided.

@kevaundray kevaundray merged commit 1bb21bc into master Dec 1, 2020
kevaundray pushed a commit that referenced this pull request Nov 8, 2022
* Refactor stdlib into a separate noir library (#1)

* Remove std_lib package

* Update path_to_stdlib

Given that now the stdlib is a standalone nargo crate

* Copy stdlib nargo crate to the native config dir

* Move stdlib to the package manager level

As a standalone nargo crate

* Add build.rs dependencies

* Return aztec_backend dependency back to its origin commit as it was modified accidentally.

* Abstract driver module from the stdlib addition

Now the stdlib addition is a responsibility for nargo.

Note: It needs to add it before invoking into_compiled_program in order for the resolver to find the stdlib as a dependency of the crate.

* cargo fmt

* Change needless pass value

This argument was passed by value, but not consumed in the function body

* Update file_compiles for tests

* Move tests to the package manager level as well

* Add tests for the build cmd

To ensure that the changes made work as expected

* cargo fmt

* Move the stdlib to the top level (#2)
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.

1 participant