diff options
author | Arthur Cohen <arthur.cohen@embecosm.com> | 2024-01-29 16:14:13 +0100 |
---|---|---|
committer | CohenArthur <arthur.cohen@embecosm.com> | 2024-02-26 17:32:38 +0000 |
commit | 82f7ee3c5934a81089ea593fdee2cb6eae726651 (patch) | |
tree | eb680e83ef0de350e333a643658252a4cd225261 /gcc | |
parent | 23e029d9589e65e149c93ca3d74ed721fac7b34e (diff) | |
download | gcc-82f7ee3c5934a81089ea593fdee2cb6eae726651.zip gcc-82f7ee3c5934a81089ea593fdee2cb6eae726651.tar.gz gcc-82f7ee3c5934a81089ea593fdee2cb6eae726651.tar.bz2 |
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.h | 4 |
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 |