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 build profiles that optimize for size #3534

Merged
merged 1 commit into from
Nov 22, 2023

Conversation

kevaundray
Copy link
Contributor

Description

This PR adds two size profiles to compilation, size and size-aggressive.

If you want to use them you can do : cargo build --profile size or cargo build --profile size-aggressive

Problem*

Resolves

Summary*

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 and/or cargo fmt on default settings.

@kevaundray kevaundray merged commit 4f7a6ae into master Nov 22, 2023
27 checks passed
@kevaundray kevaundray deleted the kw/add-size-profiles branch November 22, 2023 16:43
TomAFrench added a commit that referenced this pull request Nov 24, 2023
* master:
  fix: Compiler version error message (#3558)
  chore(docs): Update link to docs' GitHub (#3555)
  chore(fmt): refactor the way we handle shapes in the formatter (#3546)
  feat: add --check option to nargo fmt for dry-run formatting verification (#3530)
  chore: Update ACIR artifacts (#3528)
  chore: Release Noir(0.19.3) (#3514)
  chore: Updates bb dependency to 0.15.1 (#3536)
  fix(debugger): Step through foreign calls and breakpoints inside Brillig blocks (#3511)
  chore: Add build profiles that optimize for size (#3534)
  chore: clippy fixes (#3529)
  chore: remove early return from build.rs (#3531)
  feat: enable the `fmt` command in the help menu (#3328)
TomAFrench added a commit that referenced this pull request Nov 27, 2023
* master: (39 commits)
  chore: Rename error2 variable (#3584)
  chore: nargo fmt (#3587)
  feat: codegen typed interfaces for functions in `noir_codegen` (#3533)
  chore: add dependency on noir_js from docs package (#3559)
  chore: Docs 0.19.3 (#3545)
  chore(debugger): Inject abstract foreign call executor to debugger (#3550)
  chore: nargo fmt (#3549)
  fix: Compiler version error message (#3558)
  chore(docs): Update link to docs' GitHub (#3555)
  chore(fmt): refactor the way we handle shapes in the formatter (#3546)
  feat: add --check option to nargo fmt for dry-run formatting verification (#3530)
  chore: Update ACIR artifacts (#3528)
  chore: Release Noir(0.19.3) (#3514)
  chore: Updates bb dependency to 0.15.1 (#3536)
  fix(debugger): Step through foreign calls and breakpoints inside Brillig blocks (#3511)
  chore: Add build profiles that optimize for size (#3534)
  chore: clippy fixes (#3529)
  chore: remove early return from build.rs (#3531)
  feat: enable the `fmt` command in the help menu (#3328)
  chore: Remove panic on arm64 linux builds for bb binary at compile time (#3527)
  ...
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