]> git.ipfire.org Git - thirdparty/gcc.git/commit
Fix ffi and enum conventions
authorbadumbatish <tanghocle456@gmail.com>
Tue, 23 Jul 2024 20:21:31 +0000 (13:21 -0700)
committerCohenArthur <arthur.cohen@embecosm.com>
Wed, 24 Jul 2024 08:19:01 +0000 (08:19 +0000)
commit0d0530b65fc1468e5d5ac64c60c502a84f28780b
tree017fe52757bc0a0dfb48bbc0d197d8c82ffeb9a5
parenta79d297dccf7c36759551ce224a9d80f0505ecaf
Fix ffi and enum conventions

gcc/rust/ChangeLog:

* ast/rust-fmt.h (enum ParseMode):
Drop typedef in Cpp

libgrust/ChangeLog:

* libformat_parser/generic_format_parser/src/lib.rs:
Remove repr(C)
* libformat_parser/src/bin.rs: Use ffi
* libformat_parser/src/lib.rs: pub ffi, create ParseMode and match
rustc's parse mode
gcc/rust/ast/rust-fmt.h
libgrust/libformat_parser/generic_format_parser/src/lib.rs
libgrust/libformat_parser/src/bin.rs
libgrust/libformat_parser/src/lib.rs