8000 Merge pull request #124 from syvb/unicode-15-1 · unicode-rs/unicode-segmentation@6191f8e · GitHub
[go: up one dir, main page]

Skip to content

Commit 6191f8e

Browse files
authored
Merge pull request #124 from syvb/unicode-15-1
Support Unicode 15.1
2 parents 3d7266d + 69f3b02 commit 6191f8e

File tree

5 files changed

+3230
-4958
lines changed

5 files changed

+3230
-4958
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