]> git.ipfire.org Git - thirdparty/gcc.git/commit
gccrs: we can only return unit-type when the ABI is non C
authorPhilip Herron <herron.philip@googlemail.com>
Mon, 8 May 2023 13:52:05 +0000 (14:52 +0100)
committerArthur Cohen <arthur.cohen@embecosm.com>
Tue, 16 Jan 2024 17:37:15 +0000 (18:37 +0100)
commite857a3b67905628c97360df77f8f2c8456e4e7b9
tree86d6ff368a5d3a6071ee1d358f4f3e2245989b72
parentcf046027a23df64ed46ade5ae4a5c9d77ea191ab
gccrs: we can only return unit-type when the ABI is non C

gcc/rust/ChangeLog:

* backend/rust-compile-type.cc (TyTyResolveCompile::visit): add filter

Signed-off-by: Philip Herron <herron.philip@googlemail.com>
gcc/rust/backend/rust-compile-type.cc