From 4553f58e19f30db5bbfb26889d4cbf5d02bcbc9f Mon Sep 17 00:00:00 2001 From: Owen Avery Date: Sun, 30 Jul 2023 00:23:00 -0400 Subject: Add missing CHECKING_P guard to rust-unicode.cc gcc/rust/ChangeLog: * util/rust-unicode.cc: Add CHECKING_P guard. Signed-off-by: Owen Avery --- gcc/rust/util/rust-unicode.cc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gcc') diff --git a/gcc/rust/util/rust-unicode.cc b/gcc/rust/util/rust-unicode.cc index bdba592..381b8aa 100644 --- a/gcc/rust/util/rust-unicode.cc +++ b/gcc/rust/util/rust-unicode.cc @@ -239,6 +239,8 @@ is_numeric (uint32_t codepoint) } // namespace Rust +#if CHECKING_P + namespace selftest { void @@ -326,3 +328,5 @@ rust_utf8_property_test () } } // namespace selftest + +#endif // CHECKING_P -- cgit v1.1