diff options
author | Owen Avery <powerboat9.gamer@gmail.com> | 2023-07-30 00:23:00 -0400 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2024-01-16 18:56:04 +0100 |
commit | 884dec3a424e3e79148bfc29a6c48d6d81ae08ce (patch) | |
tree | 0dd1299697d249c30380cc00ecb839d3e2f7e5d5 /gcc/rust/util/rust-unicode.cc | |
parent | 0610584d0d03dc44ce7403dad7028bdc1acceb7e (diff) | |
download | gcc-884dec3a424e3e79148bfc29a6c48d6d81ae08ce.zip gcc-884dec3a424e3e79148bfc29a6c48d6d81ae08ce.tar.gz gcc-884dec3a424e3e79148bfc29a6c48d6d81ae08ce.tar.bz2 |
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 <powerboat9.gamer@gmail.com>
Diffstat (limited to 'gcc/rust/util/rust-unicode.cc')
-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 7f22936..738e1f1 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 |