feat(compilation
): allow selective compilation of sources with --via-ir
, running tests and scripts without
#9132
Labels
A-compiler
Area: compiler
C-forge
Command: forge
Cmd-forge-build
Command: forge build
Cmd-forge-test
Command: forge test
T-feature
Type: feature
T-question
Type: question
Component
Forge
Describe the feature you would like
In a basic scenario I was able to selectively compile with
--via-ir
as follows using the--skip
flag:or this should work in
foundry.toml
:and then:
This appears to work in a basic
Counter
example but appears to not work in all cases e.g. https://github.com/uniswap/v4-corecc @klkvr is there a better way to do this?
Additional context
Related: https://x.com/0xKaden/status/1846606449977532748 + https://x.com/emo_eth/status/1846645499358859469
The text was updated successfully, but these errors were encountered: