You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// The EVM target version to generate IR for. See https://github.com/paritytech/revive/blob/main/crates/common/src/evm_version.rs for reference.
65
51
evmVersion?: EvmVersions
66
-
// Output a single JSON document containing the specified information.
67
-
combinedJson?: CombinedJSONOpts
68
-
// Switch to standard JSON input/output mode. Read from stdin, write the result to stdout.
69
-
standardJson?: boolean
70
-
// Switch to missing deployable libraries detection mode. Only available for standard JSON input/output mode. Contracts are not compiled in this mode, and all compilation artifacts are not included.
71
-
detectMissingLibraries?: boolean
72
-
// Switch to Yul mode. Only one input Yul file is allowed. Cannot be used with combined and standard JSON modes.
73
-
yul?: boolean
74
-
// Switch to LLVM IR mode. Only one input LLVM IR file is allowed. Cannot be used with combined and standard JSON modes. Use this mode at your own risk, as LLVM IR input validation is not implemented.
75
-
llvmIR?: boolean
76
52
// Forcibly switch to EVM legacy assembly pipeline. It is useful for older revisions of `solc` 0.8, where Yul was considered highly experimental and contained more bugs than today
77
53
forceEVMLA?: boolean
78
-
// Set metadata hash mode. The only supported value is `none` that disables appending the metadata hash. Is enabled by default.
79
-
metadataHash?: string
80
-
// Output PolkaVM assembly of the contracts
81
-
asm?: boolean
82
-
// Output PolkaVM bytecode of the contracts
83
-
bin?: boolean
84
54
// Suppress specified warnings.
85
55
suppressWarnings?: SuppresWarningsOpts[]
86
56
// Dump all IRs to files in the specified directory. Only for testing and debugging.
87
57
debugOutputDir?: string
88
-
// Set the verify-each option in LLVM. Only for testing and debugging.
89
-
llvmVerifyEach?: boolean
90
-
// Set the debug-logging option in LLVM. Only for testing and debugging
91
-
llvmDebugLogging?: boolean
92
58
// If compilerSource == "npm", this option is ignored.
93
59
compilerPath?: string
94
60
// Specific contracts present in source to be compiled
95
61
contractsToCompile?: string[]
96
62
// Generate source based debug information in the output code file. This only has an effect with the LLVM-IR code generator and is ignored otherwise.
97
63
emitDourceDebugInfo?: boolean
98
-
// Specify addresses of deployable libraries. Syntax: `<libraryName>=<address> [, or whitespace] ...`.
99
-
libraries?: string[]
100
64
// Disable the `solc` optimizer.
101
65
disableSolcOptimizer?: boolean
102
-
// Try to recompile with -Oz if the bytecode is too large.
103
-
fallbackToOptimizingForSize?: boolean
104
66
// Compile in batches. Useful for environmnents with limited resources and large number of files.
0 commit comments