-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
forge coverage
doesn't use via-ir/optimizer setting
#6592
Comments
forge coverage
fails to use via-ir/optimizer settingforge coverage
doesn't use via-ir/optimizer setting
Ah I see that this is an intentional feature foundry-rs/forge-std#477 (comment). Is there any common work around here? |
In order of best results:
|
Yes it definitely should be in the docs page, if you could open a PR for it that would be awesome! You can learn more about that flag here: #5349 |
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
When running
forge coverage
, it builds differently than runningforge build
(seems like does not use any of the configuration provided in foundry.toml that is used byforge build
).forge coverage fails (due to no
via-ir
flag set):forge build success using
via-ir = true
from foundry.toml:The text was updated successfully, but these errors were encountered: