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

chore: Add rust-toolchain file & adapt nix for changes #2686

Merged
merged 12 commits into from
Sep 18, 2023

Conversation

phated
Copy link
Contributor

@phated phated commented Sep 13, 2023

Description

Problem*

Resolves

Summary*

This adds a rust-toolchain file to the project.

I've also updated Nix flake to consume this file using the Fenix input instead of the rust-overlay input. This will bring the Nix setup closer to a "pure rustup" workflow.

I also took the chance to remove everything that existed for running tests since they don't actually work in Nix anymore.

And I changed the default package to be a combination of nargo, noir_wasm, and noirc_abi_wasm, which means running nix build . -L will produce a result directory that contains all of them. I think this should help with local testing of wasm since the tests often need artifacts from both noir_wasm and noirc_abi_wasm. I could also see us not making this the default but instead an all package—thoughts?

Documentation

  • This PR requires documentation updates when merged.

    • I will submit a noir-lang/docs PR.
    • I will request for and support Dev Rel's help in documenting this PR.

Additional Context

PR Checklist*

  • I have tested the changes locally.
  • I have formatted the changes with Prettier and/or cargo fmt on default settings.

flake.nix Outdated Show resolved Hide resolved
@phated phated requested a review from kobyhallx September 18, 2023 17:19
@phated
Copy link
Contributor Author

phated commented Sep 18, 2023

Copy link
Contributor

@kobyhallx kobyhallx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💯

@kobyhallx kobyhallx added this pull request to the merge queue Sep 18, 2023
Merged via the queue into master with commit f64eaa7 Sep 18, 2023
17 checks passed
@kobyhallx kobyhallx deleted the phated/reduce-nix branch September 18, 2023 20:51
TomAFrench added a commit that referenced this pull request Sep 20, 2023
* master:
  feat(traits): Type checking for Trait impl method signatures  (#2652)
  chore: split 9_conditional test case and remove 8_integration (#2751)
  chore(github): Add "Idea Action Plan" Issue template (#2736)
  feat(aztec-noir): abstract storage (#2750)
  feat: signed arithmetic (#2748)
  chore: encapsulate abstraction leaks from `bb` into new crate (#2747)
  feat: Variable liveness analysis for brillig (#2715)
  chore: noirjs integration testing (#2744)
  chore: Add rust-toolchain file & adapt nix for changes (#2686)
  chore: wrap backend info response in a struct instead of boxed closure (#2737)
  fix: check for literal overflows in expressions (#2742)
  fix: nightly js test (#2740)
  fix: keep the correct type for bitshift (#2739)
  chore: Make new daily nightly releases be pre-releases and non latest (#2735)
  chore: disabling display location section  (#2118)
  chore: add a workflow that tracks acvm version for integration tests (#2700)
  feat: Save nightly build in github releases with date tags (#2416)
  chore: Add unified linting setup for JS code and enforce in CI (#2728)
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