diff options
author | Owen Avery <powerboat9.gamer@gmail.com> | 2023-08-11 22:39:57 -0400 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2024-01-16 19:00:30 +0100 |
commit | 0ebb0a75b40275fe80b8084a2854471437b1f195 (patch) | |
tree | 67241f85bec2363dc23b2e08230c1396d29026cc /gcc | |
parent | 007940b753784aa4bd4b6bcd84b1dacb1237c055 (diff) | |
download | gcc-0ebb0a75b40275fe80b8084a2854471437b1f195.zip gcc-0ebb0a75b40275fe80b8084a2854471437b1f195.tar.gz gcc-0ebb0a75b40275fe80b8084a2854471437b1f195.tar.bz2 |
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 <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 |