8000 Support Unicode 15.1 · unicode-rs/unicode-segmentation@a909537 · GitHub
[go: up one dir, main page]

Skip to content

Commit a909537

Browse files
committed
Support Unicode 15.1
1 parent 3d7266d commit a909537

File tree

5 files changed

+3159
-5849
lines changed

5 files changed

+3159
-5849
lines changed

.github/workflows/rust.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,6 @@ jobs:
2929
- name: Rustfmt
3030
run: cargo fmt --check
3131
- name: Verify regenerated files
32-
run: ./scripts/unicode.py && diff tables.rs src/tables.rs
32+
run: ./scripts/unicode.py && diff tables.rs src/tables.rs
33+
- name: Verify regenerated tests
34+
run: ./scripts/unicode_gen_breaktests.py && rustfmt testdata.rs && diff testdata.rs src/testdata.rs

scripts/unicode.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
# these are the surrogate codepoints, which are not valid rust characters
5555
surrogate_codepoints = (0xd800, 0xdfff)
5656

57-
UNICODE_VERSION = (15, 0, 0)
57+
UNICODE_VERSION = (15, 1, 0)
5858

5959
UNICODE_VERSION_NUMBER = "%s.%s.%s" %UNICODE_VERSION
6060

0 commit comments

Comments
 (0)
0