Merge pull request #3627 from rtfeldman/glue

Replace separate bindgen CLI with `roc glue`
This commit is contained in:
Richard Feldman 2022-07-24 17:04:20 -04:00 committed by GitHub
commit 089fae2d56
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
59 changed files with 215 additions and 541 deletions

View file

@ -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

View file

@ -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>(