diff options
author | Owen Avery <powerboat9.gamer@gmail.com> | 2023-07-30 00:23:00 -0400 |
---|---|---|
committer | Philip Herron <philip.herron@embecosm.com> | 2023-07-30 17:19:41 +0000 |
commit | 4553f58e19f30db5bbfb26889d4cbf5d02bcbc9f (patch) | |
tree | 832ce456eda8a43f8f11364029a2fc0cf63e5acd /gcc | |
parent | 5ad0febb770177b5d32aa4f11a7b377de2773d84 (diff) | |
download | gcc-4553f58e19f30db5bbfb26889d4cbf5d02bcbc9f.zip gcc-4553f58e19f30db5bbfb26889d4cbf5d02bcbc9f.tar.gz gcc-4553f58e19f30db5bbfb26889d4cbf5d02bcbc9f.tar.bz2 |
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 <powerboat9.gamer@gmail.com>
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/rust/util/rust-unicode.cc | 4 |
1 files changed, 4 insertions, 0 deletions
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 |