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: remove unnecessary main.rs files #1950

Merged
merged 2 commits into from
Jul 18, 2023
Merged

Conversation

TomAFrench
Copy link
Member

Description

Problem*

Resolves review comment #1881 (comment)

Summary*

These files don't really provide us with any value and requires maintenance effort to ensure that we can compile.
Neither are particularly useful (one just prints out the HIR of various functions) so I've opted to just remove them entirely.

We could in future replace the first file with a test in noirc_driver but I don't think it's high value at this time.

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.

Copy link
Contributor

@kevaundray kevaundray left a comment

Choose a reason for hiding this comment

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

These were nice to test the external API, though you are right in that their utility has reduced since creation and we should have proper end to end tests to test the external API... Goodbye my sweet babies

@kevaundray kevaundray enabled auto-merge July 17, 2023 22:45
@kevaundray kevaundray added this pull request to the merge queue Jul 17, 2023
Merged via the queue into master with commit ed9bf9e Jul 18, 2023
@kevaundray kevaundray deleted the remove-useless-mains branch July 18, 2023 00:03
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