-
Notifications
You must be signed in to change notification settings - Fork 187
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #320 from g-r-a-n-t/fix-optimize
Fix optimize flag.
- Loading branch information
Showing
2 changed files
with
12 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
The CLI was using the overwrite flag to enable Yul optimization. | ||
|
||
i.e. | ||
|
||
``` | ||
# Would both overwite output files and run the Yul optimizer. | ||
$ fe my_contract.fe --overwrite | ||
``` | ||
|
||
|
||
Using the overwrite flag now only overwrites and optimization is enabled with the optimize flag. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters