compiler-options
Compiler Options
--optimize
Activate the Ylem optimizer.
--optimizer-runs runs
The number of optimizer runs.
--via-ir
Use the Yul intermediate representation compilation pipeline.
--revert-strings
How to treat revert and require reason strings.
--use solc_version
Specify the solc version, or a path to a local solc, to build with.
Valid values are in the format x.y.z, solc:x.y.z or path/to/solc.
--offline
Do not access the network. Missing solc versions will not be installed.
--no-auto-detect
Do not auto-detect solc.
--ignored-error-codes error_codes
Ignore solc warnings by error code. The parameter is a comma-separated list of error codes.
--extra-output selector
Extra output to include in the contract's artifact.
Example keys: abi, storageLayout, evm.assembly, ewasm, ir, ir-optimized, metadata.
For a full description, see the Ylem docs.
--extra-output-files selector
Extra output to write to separate files.
Example keys: abi, storageLayout, evm.assembly, ewasm, ir, ir-optimized, metadata.
For a full description, see the Ylem docs.
--evm-version version
The target EVM version.