mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 13:59:08 +00:00
Merge branch 'main' into specialize-exprs
This commit is contained in:
commit
2e96aca0fd
797 changed files with 17394 additions and 12632 deletions
|
@ -113,9 +113,13 @@ pub fn helper(
|
|||
} => {
|
||||
// TODO support multiple of these!
|
||||
debug_assert_eq!(exposed_to_host.len(), 1);
|
||||
let (symbol, layout) = exposed_to_host[0];
|
||||
let (name, symbol, layout) = exposed_to_host[0];
|
||||
|
||||
SingleEntryPoint { symbol, layout }
|
||||
SingleEntryPoint {
|
||||
name,
|
||||
symbol,
|
||||
layout,
|
||||
}
|
||||
}
|
||||
EntryPoint::Test => {
|
||||
unreachable!()
|
||||
|
|
|
@ -243,9 +243,13 @@ fn create_llvm_module<'a>(
|
|||
} => {
|
||||
// TODO support multiple of these!
|
||||
debug_assert_eq!(exposed_to_host.len(), 1);
|
||||
let (symbol, layout) = exposed_to_host[0];
|
||||
let (name, symbol, layout) = exposed_to_host[0];
|
||||
|
||||
SingleEntryPoint { symbol, layout }
|
||||
SingleEntryPoint {
|
||||
name,
|
||||
symbol,
|
||||
layout,
|
||||
}
|
||||
}
|
||||
EntryPoint::Test => {
|
||||
unreachable!()
|
||||
|
@ -536,6 +540,7 @@ pub fn try_run_lib_function<T>(
|
|||
}
|
||||
}
|
||||
|
||||
#[allow(dead_code)]
|
||||
// only used in tests
|
||||
#[allow(dead_code)]
|
||||
pub(crate) fn llvm_evals_to<T, U, F>(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue