From: Owen Avery Date: Sun, 30 Jul 2023 04:23:00 +0000 (-0400) Subject: gccrs: Add missing CHECKING_P guard to rust-unicode.cc X-Git-Tag: basepoints/gcc-15~2272 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=884dec3a424e3e79148bfc29a6c48d6d81ae08ce;p=thirdparty%2Fgcc.git gccrs: 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 --- diff --git a/gcc/rust/util/rust-unicode.cc b/gcc/rust/util/rust-unicode.cc index 7f22936eed56..738e1f162eb9 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