Skip to content

Commit 4553f58

Browse files
powerboat9philberty
authored andcommitted
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 <[email protected]>
1 parent 5ad0feb commit 4553f58

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

gcc/rust/util/rust-unicode.cc

+4
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,8 @@ is_numeric (uint32_t codepoint)
239239

240240
} // namespace Rust
241241

242+
#if CHECKING_P
243+
242244
namespace selftest {
243245

244246
void
@@ -326,3 +328,5 @@ rust_utf8_property_test ()
326328
}
327329

328330
} // namespace selftest
331+
332+
#endif // CHECKING_P

0 commit comments

Comments
 (0)