-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
forge coverage
doesn't use via-ir/optimizer setting
#6592
Comments
calbera
changed the title
Dec 12, 2023
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in 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: