sway
sway copied to clipboard
Revisit `build_tests` to improve interface and remove clones
Also we should visit this function some time later because cloning `BuiltPackage` is a costly event that might lead to huge memory usage stuff that we encountered before. I think we should be fine for now but maybe in a separate PR that refactors `forc-pkg` as mentioned above, we can try to remove all/some clone's on built package's across the repo.
Originally posted by @kayagokalp in https://github.com/FuelLabs/sway/pull/5477#discussion_r1491745721