diff options
author | Owen Avery <powerboat9.gamer@gmail.com> | 2023-08-11 22:39:57 -0400 |
---|---|---|
committer | Philip Herron <philip.herron@embecosm.com> | 2023-08-12 17:15:29 +0000 |
commit | c10d668b5076a38a7f1b2b13c948be68dcf57ea1 (patch) | |
tree | f7df2dcff8fab57c14c68b457d9ed5c8a62a2070 /gcc | |
parent | 56680955c4a6f7e5ff195942edbdea3768b47e66 (diff) | |
download | gcc-c10d668b5076a38a7f1b2b13c948be68dcf57ea1.zip gcc-c10d668b5076a38a7f1b2b13c948be68dcf57ea1.tar.gz gcc-c10d668b5076a38a7f1b2b13c948be68dcf57ea1.tar.bz2 |
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 <powerboat9.gamer@gmail.com>
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/rust/util/rust-punycode.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/rust/util/rust-punycode.cc b/gcc/rust/util/rust-punycode.cc index 6c796ab..8da724c 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 |