aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/backend/rust-compile-item.h
diff options
context:
space:
mode:
authorArthur Cohen <arthur.cohen@embecosm.com>2025-01-21 16:13:11 +0100
committerArthur Cohen <arthur.cohen@embecosm.com>2025-03-24 13:06:53 +0100
commit23a3ec61f6defea5bae6c35d8042b335e6e32dfc (patch)
tree42e056805496c49381da670dd6330124dd0e26e0 /gcc/rust/backend/rust-compile-item.h
parent9df8fc12d04a98f036a0c04df4bb8eea9446367b (diff)
downloadgcc-23a3ec61f6defea5bae6c35d8042b335e6e32dfc.zip
gcc-23a3ec61f6defea5bae6c35d8042b335e6e32dfc.tar.gz
gcc-23a3ec61f6defea5bae6c35d8042b335e6e32dfc.tar.bz2
gccrs: lang-items: Add Result and Try lang items
gcc/rust/ChangeLog: * util/rust-lang-item.h: Add handling for Result::Ok, Result::Err, Try, Try::into_result, Try::from_ok, Try::from_err. * util/rust-lang-item.cc: Likewise. gcc/testsuite/ChangeLog: * rust/compile/try-trait.rs: New test.
Diffstat (limited to 'gcc/rust/backend/rust-compile-item.h')
0 files changed, 0 insertions, 0 deletions