public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc/devel/rust/master] late: Add bool builtin type
@ 2024-05-07 16:26 Thomas Schwinge
0 siblings, 0 replies; only message in thread
From: Thomas Schwinge @ 2024-05-07 16:26 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:5f117eec558feb301162b128fb6b613a8c842886
commit 5f117eec558feb301162b128fb6b613a8c842886
Author: Arthur Cohen <arthur.cohen@embecosm.com>
Date: Thu Nov 9 00:39:46 2023 +0100
late: Add bool builtin type
gcc/rust/ChangeLog:
* resolve/rust-late-name-resolver-2.0.cc (Late::setup_builtin_types):
Setup bool as builtin type.
Diff:
---
gcc/rust/resolve/rust-late-name-resolver-2.0.cc | 1 +
1 file changed, 1 insertion(+)
diff --git a/gcc/rust/resolve/rust-late-name-resolver-2.0.cc b/gcc/rust/resolve/rust-late-name-resolver-2.0.cc
index 3090bbeff2a9..ee06c4efc2ea 100644
--- a/gcc/rust/resolve/rust-late-name-resolver-2.0.cc
+++ b/gcc/rust/resolve/rust-late-name-resolver-2.0.cc
@@ -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))},
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-05-07 16:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-05-07 16:26 [gcc/devel/rust/master] late: Add bool builtin type Thomas Schwinge
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).