From: Owen Avery Date: Sat, 12 Aug 2023 02:39:57 +0000 (-0400) Subject: gccrs: Add missing CHECKING_P guard to rust-punycode.cc X-Git-Tag: basepoints/gcc-15~2223 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0ebb0a75b40275fe80b8084a2854471437b1f195;p=thirdparty%2Fgcc.git gccrs: Add missing CHECKING_P guard to rust-punycode.cc gcc/rust/ChangeLog: * util/rust-punycode.cc: Add CHECKING_P guard. Signed-off-by: Owen Avery --- diff --git a/gcc/rust/util/rust-punycode.cc b/gcc/rust/util/rust-punycode.cc index 6c796ab794f6..8da724cc65e9 100644 --- a/gcc/rust/util/rust-punycode.cc +++ b/gcc/rust/util/rust-punycode.cc @@ -150,6 +150,8 @@ encode_punycode (const Utf8String &input) } // namespace Rust +#if CHECKING_P + namespace selftest { void @@ -176,3 +178,5 @@ rust_punycode_encode_test () } } // namespace selftest + +#endif // CHECKING_P