From 6a0e2f4584eaf899de9463dca4c6adcdc6b2fa91 Mon Sep 17 00:00:00 2001 From: Vishnu Poddar Date: Tue, 17 Mar 2026 11:08:04 -0700 Subject: [PATCH] Internal-only change PiperOrigin-RevId: 885113423 --- support/annotations.h | 4 ++++ support/annotations.swig | 2 ++ 2 files changed, 6 insertions(+) diff --git a/support/annotations.h b/support/annotations.h index 522164bb8..eee0e0a40 100644 --- a/support/annotations.h +++ b/support/annotations.h @@ -7,6 +7,8 @@ #include "support/annotations_internal.h" +// LINT.IfChange + // Marks a function or type as requiring Rust binding. // // If Crubit fails to generate bindings for a function or type annotated with @@ -386,4 +388,6 @@ #define CRUBIT_OVERRIDE_DISPLAY(should_bind) \ CRUBIT_INTERNAL_ANNOTATE("crubit_override_display", should_bind) +// LINT.ThenChange(//depot/support/annotations.swig) + #endif // THIRD_PARTY_CRUBIT_SUPPORT_ANNOTATIONS_H_ diff --git a/support/annotations.swig b/support/annotations.swig index 3f7153541..0eb9a6ddd 100644 --- a/support/annotations.swig +++ b/support/annotations.swig @@ -6,6 +6,8 @@ %enddef %define CRUBIT_UNSAFE %enddef +%define CRUBIT_UNSAFE_IMPL(...) +%enddef %define CRUBIT_UNSAFE_MARK_SAFE %enddef %define CRUBIT_OVERRIDE_UNSAFE(safety)