mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 13:59:08 +00:00
create conversion code from Types to the roc version of Types
This commit is contained in:
parent
8d8150e748
commit
abdc84d927
9 changed files with 433 additions and 7 deletions
|
@ -65,6 +65,7 @@ pub const FLAG_WASM_STACK_SIZE_KB: &str = "wasm-stack-size-kb";
|
|||
pub const ROC_FILE: &str = "ROC_FILE";
|
||||
pub const ROC_DIR: &str = "ROC_DIR";
|
||||
pub const GLUE_DIR: &str = "GLUE_DIR";
|
||||
pub const GLUE_SPEC: &str = "GLUE_SPEC";
|
||||
pub const DIRECTORY_OR_FILES: &str = "DIRECTORY_OR_FILES";
|
||||
pub const ARGS_FOR_APP: &str = "ARGS_FOR_APP";
|
||||
|
||||
|
@ -290,6 +291,12 @@ pub fn build_app<'a>() -> Command<'a> {
|
|||
.allow_invalid_utf8(true)
|
||||
.required(true)
|
||||
)
|
||||
.arg(
|
||||
Arg::new(GLUE_SPEC)
|
||||
.help("The specification for how to convert roc types into another programming language")
|
||||
.allow_invalid_utf8(true)
|
||||
.required(true)
|
||||
)
|
||||
)
|
||||
.subcommand(Command::new(CMD_GEN_STUB_LIB)
|
||||
.about("Generate a stubbed shared library that can be used for linking a platform binary.\nThe stubbed library has prototypes, but no function bodies.\n\nNote: This command will be removed in favor of just using `roc build` once all platforms support the surgical linker")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue