aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/Make-lang.in
diff options
context:
space:
mode:
authorRaiki Tamura <tamaron1203@gmail.com>2023-07-14 14:45:34 +0900
committerArthur Cohen <arthur.cohen@embecosm.com>2024-01-16 18:56:04 +0100
commitf7b2e17682b5139a08f7956226bf7ccbdec88230 (patch)
treead7486ded23318265e7eae769dcd5837d76dbdce /gcc/rust/Make-lang.in
parent884dec3a424e3e79148bfc29a6c48d6d81ae08ce (diff)
downloadgcc-f7b2e17682b5139a08f7956226bf7ccbdec88230.zip
gcc-f7b2e17682b5139a08f7956226bf7ccbdec88230.tar.gz
gcc-f7b2e17682b5139a08f7956226bf7ccbdec88230.tar.bz2
gccrs: Add Unicode check for crate_name attributes
gcc/rust/ChangeLog: * lex/rust-codepoint.h: Add comment * lex/rust-lex.h: New method to get decoded characters * rust-session-manager.cc (validate_crate_name): Modify unicode check (rust_crate_name_validation_test): Add testcases * util/rust-unicode.h (RUST_UNICODE_H): New class Utf8String. (class Utf8String): New class. * util/rust-unicode.cc (binary_search_sorted_array): Add comment. (recursive_decomp_cano): Add comment. (recomp): Remove dead code. (dump_string): Removed. gcc/testsuite/ChangeLog: * rust/compile/bad-crate-name.rs: Moved to... * rust/compile/bad-crate-name1.rs: ...here. * rust/compile/bad-crate-name2.rs: New test. Signed-off-by: Raiki Tamura <tamaron1203@gmail.com>
Diffstat (limited to 'gcc/rust/Make-lang.in')
0 files changed, 0 insertions, 0 deletions