mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-01 07:41:12 +00:00
get foreign call compiling (but not working)
This commit is contained in:
parent
2f42463a97
commit
4c3f0a5002
3 changed files with 69 additions and 4 deletions
|
@ -2146,9 +2146,8 @@ fn fabricate_host_exposed_def<'a>(
|
|||
}
|
||||
|
||||
// TODO figure out something better for run lowlevel
|
||||
use roc_module::low_level::LowLevel;
|
||||
let low_level_call = Expr::RunLowLevel {
|
||||
op: LowLevel::Not,
|
||||
let low_level_call = Expr::ForeignCall {
|
||||
foreign_symbol: "roc_fx_put_char".into(),
|
||||
args: linked_symbol_arguments,
|
||||
ret_var: var_store.fresh(),
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue