diff options
author | beamandala <mandalapubhavesh@gmail.com> | 2025-03-20 17:34:48 -0500 |
---|---|---|
committer | CohenArthur <arthur.cohen@embecosm.com> | 2025-04-14 09:32:06 +0000 |
commit | ecb649973a3b176f6a723c2f3d78c23ee121163d (patch) | |
tree | 4243a6749ad1500a6262819016403467ac145dc8 /gcc/rust/hir | |
parent | a283cdcf85e2f4bafe9d02ee6117bf46fcbb5a82 (diff) | |
download | gcc-ecb649973a3b176f6a723c2f3d78c23ee121163d.zip gcc-ecb649973a3b176f6a723c2f3d78c23ee121163d.tar.gz gcc-ecb649973a3b176f6a723c2f3d78c23ee121163d.tar.bz2 |
Add `#[track_caller]` as known attribute
gcc/rust/ChangeLog:
* expand/rust-macro-builtins.cc (MacroBuiltin::builtin_transcribers):
Add entry for track_caller.
* util/rust-attribute-values.h: add `TRACK_CALLER` attribute.
* util/rust-attributes.cc: add `track_caller` attribute definition.
gcc/testsuite/ChangeLog:
* rust/compile/track_caller.rs: New test.
Signed-off-by: Bhavesh Mandalapu <mandalapubhavesh@gmail.com>
Diffstat (limited to 'gcc/rust/hir')
0 files changed, 0 insertions, 0 deletions