mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Reject optimizer options as invalid in linker and Standard JSON modes
This commit is contained in:
@@ -0,0 +1 @@
|
||||
--no-optimize-yul --link --libraries input.sol:L=0x1234567890123456789012345678901234567890
|
||||
@@ -0,0 +1 @@
|
||||
Option --no-optimize-yul is only valid in compiler and assembler modes.
|
||||
@@ -0,0 +1 @@
|
||||
1
|
||||
@@ -0,0 +1 @@
|
||||
--optimize --link --libraries input.sol:L=0x1234567890123456789012345678901234567890
|
||||
@@ -0,0 +1 @@
|
||||
Option --optimize is only valid in compiler and assembler modes.
|
||||
@@ -0,0 +1 @@
|
||||
1
|
||||
@@ -0,0 +1 @@
|
||||
--optimize-runs 1000 --link --libraries input.sol:L=0x1234567890123456789012345678901234567890
|
||||
@@ -0,0 +1 @@
|
||||
Option --optimize-runs is only valid in compiler and assembler modes.
|
||||
@@ -0,0 +1 @@
|
||||
1
|
||||
@@ -0,0 +1 @@
|
||||
--optimize-yul --link --libraries input.sol:L=0x1234567890123456789012345678901234567890
|
||||
@@ -0,0 +1 @@
|
||||
Option --optimize-yul is only valid in compiler and assembler modes.
|
||||
@@ -0,0 +1 @@
|
||||
1
|
||||
@@ -0,0 +1 @@
|
||||
--yul-optimizations a --link --libraries input.sol:L=0x1234567890123456789012345678901234567890
|
||||
@@ -0,0 +1 @@
|
||||
Option --yul-optimizations is only valid in compiler and assembler modes.
|
||||
@@ -0,0 +1 @@
|
||||
1
|
||||
@@ -0,0 +1 @@
|
||||
--no-optimize-yul
|
||||
@@ -0,0 +1 @@
|
||||
Option --no-optimize-yul is only valid in compiler and assembler modes.
|
||||
@@ -0,0 +1 @@
|
||||
1
|
||||
@@ -0,0 +1 @@
|
||||
--optimize
|
||||
@@ -0,0 +1 @@
|
||||
Option --optimize is only valid in compiler and assembler modes.
|
||||
@@ -0,0 +1 @@
|
||||
1
|
||||
@@ -0,0 +1 @@
|
||||
--optimize-runs 1000
|
||||
@@ -0,0 +1 @@
|
||||
Option --optimize-runs is only valid in compiler and assembler modes.
|
||||
@@ -0,0 +1 @@
|
||||
1
|
||||
@@ -0,0 +1 @@
|
||||
--optimize-yul
|
||||
@@ -0,0 +1 @@
|
||||
Option --optimize-yul is only valid in compiler and assembler modes.
|
||||
@@ -0,0 +1 @@
|
||||
1
|
||||
@@ -0,0 +1 @@
|
||||
--yul-optimizations a
|
||||
@@ -0,0 +1 @@
|
||||
Option --yul-optimizations is only valid in compiler and assembler modes.
|
||||
@@ -0,0 +1 @@
|
||||
1
|
||||
@@ -368,9 +368,6 @@ BOOST_AUTO_TEST_CASE(standard_json_mode_options)
|
||||
"--combined-json=abi,bin", // Accepted but has no effect in Standard JSON mode
|
||||
"--metadata-hash=swarm", // Ignored in Standard JSON mode
|
||||
"--metadata-literal", // Ignored in Standard JSON mode
|
||||
"--optimize", // Ignored in Standard JSON mode
|
||||
"--optimize-runs=1000", // Ignored in Standard JSON mode
|
||||
"--yul-optimizations=agf",
|
||||
"--model-checker-contracts=" // Ignored in Standard JSON mode
|
||||
"contract1.yul:A,"
|
||||
"contract2.yul:B",
|
||||
|
||||
Reference in New Issue
Block a user