Repository navigation
core: implement char::is_xid_{start|continue} - #164474
Conversation
|
Any special-casing of Miri in the standard library requires review. cc @rust-lang/miri
If you want to modify |
|
rustbot has assigned @Mark-Simulacrum. Use Why was this reviewer chosen?The reviewer was selected based on:
|
This comment has been minimized.
This comment has been minimized.
7567343 to
4009050
Compare
To be clear, the only special-casing is in the core's Unicode tests, I just copied how the other tests do it. |
4009050 to
54f7917
Compare
|
Thanks! r? ChrisDenton |
…uwer Rollup of 9 pull requests Successful merges: - #163743 (std: simplify the miri bypass of the stack overflow detection logic) - #164474 (core: implement `char::is_xid_{start|continue}`) - #164643 (Const-stabilize `{BinaryHeap, BTreeMap, BTreeSet, LinkedList, VecDeque)::{len, is_empty}`) - #164739 (Use cfi_encoding instead of name in abi checking in miri) - #162927 (stabilize ptr_cast_slice) - #163372 (Restrict `PartialEq` and `PartialOrd` documentation to thin pointers) - #164261 (Simplify MSYS check in is_terminal on Windows) - #164698 (Remove FCP from libs tracking checklist) - #164810 (Don't prioritize issues that require internal features)
Rollup merge of #164474 - sleepycatcoding:char_is_xid, r=ChrisDenton core: implement `char::is_xid_{start|continue}` This implements the XID Unicode API on `char` as accepted in ACP (rust-lang/libs-team#540). Currently implemented very naively, using the default skiplist approach. I haven't opened a tracking issue yet, as I wasn't the one who opened the ACP and I'd like feedback if my approach is headed in the right direction. No LLMs were used in the creation of this PR.
…uwer Rollup of 9 pull requests Successful merges: - rust-lang/rust#163743 (std: simplify the miri bypass of the stack overflow detection logic) - rust-lang/rust#164474 (core: implement `char::is_xid_{start|continue}`) - rust-lang/rust#164643 (Const-stabilize `{BinaryHeap, BTreeMap, BTreeSet, LinkedList, VecDeque)::{len, is_empty}`) - rust-lang/rust#164739 (Use cfi_encoding instead of name in abi checking in miri) - rust-lang/rust#162927 (stabilize ptr_cast_slice) - rust-lang/rust#163372 (Restrict `PartialEq` and `PartialOrd` documentation to thin pointers) - rust-lang/rust#164261 (Simplify MSYS check in is_terminal on Windows) - rust-lang/rust#164698 (Remove FCP from libs tracking checklist) - rust-lang/rust#164810 (Don't prioritize issues that require internal features)
This implements the XID Unicode API on
charas accepted in ACP (rust-lang/libs-team#540).Currently implemented very naively, using the default skiplist approach. I haven't opened a tracking issue yet, as I wasn't the one who opened the ACP and I'd like feedback if my approach is headed in the right direction.
No LLMs were used in the creation of this PR.