Skip to content

nightly-2024-03-07: chore: Move templated code for assert_message into the stdlib (#4475)

Pre-release
Pre-release
Compare
Choose a tag to compare
@github-actions github-actions released this 07 Mar 02:05
· 1458 commits to master since this release
ea9a834
# Description

## Problem\*

We currently have a noirc_macros crate which checks for the stdlib and
inserts two functions into the stdlib. The motivation being that we did
not want users to be able to see these functions.

Introducing a new crate for this reason, does not seem to be worth it
since its ~7 lines of noir code.


## Solution\*

This PR removes the noirc_macros crate and copies the noir code that was
being pasted into the stdlib, directly into the stdlib

## Additional Context



## Documentation\*

Check one:
- [ ] No documentation needed.
- [ ] Documentation included in this PR.
- [ ] **[Exceptional Case]** Documentation to be submitted in a separate
PR.

# PR Checklist\*

- [ ] I have tested the changes locally.
- [ ] I have formatted the changes with [Prettier](https://prettier.io/)
and/or `cargo fmt` on default settings.

---------

Co-authored-by: Tom French <[email protected]>
Co-authored-by: Tom French <[email protected]>