32 lines
2.0 KiB
Plaintext
32 lines
2.0 KiB
Plaintext
Blazingly fast Solidity compiler
|
|
|
|
Usage: solar [OPTIONS] [INPUT]...
|
|
|
|
Arguments:
|
|
[INPUT]... Files to compile, or import remappings
|
|
|
|
Options:
|
|
-j, --threads <THREADS> Number of threads to use. Zero specifies the number of logical cores [default: <DEFAULT>] [aliases: --jobs]
|
|
--evm-version <EVM_VERSION> EVM version [default: prague] [possible values: homestead, tangerineWhistle, spuriousDragon, byzantium, constantinople, petersburg, istanbul, berlin, london, paris, shanghai, cancun, prague, osaka]
|
|
--stop-after <STOP_AFTER> Stop execution after the given compiler stage [possible values: parsing, lowering, analysis]
|
|
--out-dir <OUT_DIR> Directory to write output files
|
|
--emit <EMIT> Comma separated list of types of output for the compiler to emit [possible values: abi, hashes]
|
|
-Z <FLAG> Unstable flags. WARNING: these are completely unstable, and may change at any time
|
|
-h, --help Print help (see more with '--help')
|
|
-V, --version Print version
|
|
|
|
Input options:
|
|
--base-path <BASE_PATH> Use the given path as the root of the source tree
|
|
-I, --include-path <INCLUDE_PATH> Directory to search for files
|
|
--allow-paths <ALLOW_PATHS> Allow a given path for imports
|
|
|
|
Display options:
|
|
--color <COLOR> Coloring [default: auto] [possible values: auto, always, never]
|
|
-v, --verbose Use verbose output
|
|
--pretty-json Pretty-print JSON output
|
|
--pretty-json-err Pretty-print error JSON output
|
|
--error-format <ERROR_FORMAT> How errors and other messages are produced [default: human] [possible values: human, json, rustc-json]
|
|
--error-format-human <VALUE> Human-readable error message style [default: unicode] [possible values: ascii, unicode, short]
|
|
--diagnostic-width <WIDTH> Terminal width for error message formatting
|
|
--no-warnings Whether to disable warnings
|