aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorArthur Cohen <arthur.cohen@embecosm.com>2024-01-29 16:14:13 +0100
committerArthur Cohen <arthur.cohen@embecosm.com>2024-08-01 13:11:28 +0200
commit6a7d0e5dc62be70561a3ecfd9d5b202e72e4886e (patch)
tree90afbac675e5b60130d26d27e1d2e6bec297af2a /gcc
parent8647682e5a2d670e287382307f54922b46157a40 (diff)
downloadgcc-6a7d0e5dc62be70561a3ecfd9d5b202e72e4886e.zip
gcc-6a7d0e5dc62be70561a3ecfd9d5b202e72e4886e.tar.gz
gcc-6a7d0e5dc62be70561a3ecfd9d5b202e72e4886e.tar.bz2
gccrs: 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.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/rust/ast/rust-fmt.h4
1 files changed, 2 insertions, 2 deletions
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<DebugHex> debug_hex;
/// The integer precision to use.
- // Count <'a> precision;
+ Count precision;
/// The span of the precision formatting flag (for diagnostics).
tl::optional<InnerSpan> 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<InnerSpan> width_span;
/// The descriptor string representing the name of the format desired for