Skip to content

Commit

Permalink
late: Add bool builtin type
Browse files Browse the repository at this point in the history
  • Loading branch information
CohenArthur committed Nov 9, 2023
1 parent 3556639 commit 7194627
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gcc/rust/resolve/rust-late-name-resolver-2.0.cc
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ Late::setup_builtin_types ()
};

static const LType builtins[] = {
{LType ("bool", new TyTy::BoolType (next_hir_id ()))},
{LType ("u8", new TyTy::UintType (next_hir_id (), TyTy::UintType::U8))},
{LType ("u16", new TyTy::UintType (next_hir_id (), TyTy::UintType::U16))},
{LType ("u32", new TyTy::UintType (next_hir_id (), TyTy::UintType::U32))},
Expand Down

0 comments on commit 7194627

Please sign in to comment.