Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Print the formatted bytecode size on forc build (#6214)
## Description Users can see the bytecode size for every compiled package using the `--verbose` flag with `forc build`. The PR makes it so they see the total bytecode size by default without verbose mode in the `Finished` status message. For workspaces, the bytecode size is the sum of all of the built packages' bytecode. ![image](https://github.com/FuelLabs/sway/assets/47993817/5a09337f-95e8-4157-b9da-28371fb95a1e) ## Checklist - [ ] I have linked to any relevant issues. - [ ] I have commented my code, particularly in hard-to-understand areas. - [ ] I have updated the documentation where relevant (API docs, the reference, and the Sway book). - [ ] If my change requires substantial documentation changes, I have [requested support from the DevRel team](https://github.com/FuelLabs/devrel-requests/issues/new/choose) - [ ] I have added tests that prove my fix is effective or that my feature works. - [ ] I have added (or requested a maintainer to add) the necessary `Breaking*` or `New Feature` labels where relevant. - [ ] I have done my best to ensure that my PR adheres to [the Fuel Labs Code Review Standards](https://github.com/FuelLabs/rfcs/blob/master/text/code-standards/external-contributors.md). - [ ] I have requested a review from the relevant team or maintainers.
- Loading branch information