-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor --target
into subcommands for dev tree compile
and other improvements
#2713
Conversation
def0b0c
to
573070e
Compare
--target
in to subcommands for dev xxx compile
--target
into subcommands for dev xxx compile
8cf9892
to
afb002e
Compare
--target
into subcommands for dev xxx compile
--target
into subcommands for dev tree compile
--target
into subcommands for dev tree compile
--target
into subcommands for dev tree compile
and other improvements
|
||
instance EntryPointOptions (CasmOptions k) where | ||
applyOptions opts = | ||
set entryPointTarget (Just TargetCairo) -- TODO is this the right target? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, it's the right target, because CASM can only be compiled to Cairo, so it's useless to make a separate backend target for it (whose purpose is to establish implementation limits like max number of function arguments, etc).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done 98ac944
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove TODO comment and resolve conflicts preserving the changes from #2728
afb002e
to
98ac944
Compare
The wasm32-wasi target was renamed to wasi in #2713
The wasm32-wasi target was renamed to wasi in #2713
The wasm32-wasi target was renamed to wasi in #2713
The wasm32-wasi target was renamed to wasi in #2713
--target
into subcommands fordev tree compile
.App
to allCompileTarget
constructors to avoid name clashes withTarget
.AppError MegaparsecError
instance and simplify some related code.