mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 13:29:12 +00:00
Merge pull request #3627 from rtfeldman/glue
Replace separate bindgen CLI with `roc glue`
This commit is contained in:
commit
089fae2d56
59 changed files with 215 additions and 541 deletions
|
@ -3766,7 +3766,7 @@ fn send_header_two<'a>(
|
|||
|
||||
{
|
||||
// If we don't have an app module id (e.g. because we're doing
|
||||
// `roc check myplatform.roc` or because we're doing bindgen),
|
||||
// `roc check myplatform.roc` or because we're generating glue code),
|
||||
// insert the `requires` symbols into the platform module's IdentIds.
|
||||
//
|
||||
// Otherwise, get them from the app module's IdentIds, because it
|
||||
|
|
|
@ -3304,7 +3304,7 @@ impl<'a> LayoutIds<'a> {
|
|||
}
|
||||
|
||||
/// Compare two fields when sorting them for code gen.
|
||||
/// This is called by both code gen and bindgen, so that
|
||||
/// This is called by both code gen and glue, so that
|
||||
/// their field orderings agree.
|
||||
#[inline(always)]
|
||||
pub fn cmp_fields<L: Ord>(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue