From 82f7ee3c5934a81089ea593fdee2cb6eae726651 Mon Sep 17 00:00:00 2001 From: Arthur Cohen Date: Mon, 29 Jan 2024 16:14:13 +0100 Subject: libformat_parser: Start experimenting with cbindgen libgrust/ChangeLog: * libformat_parser/cbindgen.toml: New file. * libformat_parser/libformat-parser.h: New file. gcc/rust/ChangeLog: * ast/rust-fmt.h: Add remaining FFI types. --- gcc/rust/ast/rust-fmt.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gcc') diff --git a/gcc/rust/ast/rust-fmt.h b/gcc/rust/ast/rust-fmt.h index 0050977..27c1c36 100644 --- a/gcc/rust/ast/rust-fmt.h +++ b/gcc/rust/ast/rust-fmt.h @@ -92,11 +92,11 @@ struct FormatSpec /// The `x` or `X` flag. (Only for `Debug`.) tl::optional debug_hex; /// The integer precision to use. - // Count <'a> precision; + Count precision; /// The span of the precision formatting flag (for diagnostics). tl::optional precision_span; /// The string width requested for the resulting format. - // Count <'a> width; + Count width; /// The span of the width formatting flag (for diagnostics). tl::optional width_span; /// The descriptor string representing the name of the format desired for -- cgit v1.1