Repository navigation
str.split is declared in the standard library and its built-in is deleted (#3483); the stop guard skips issues labelled held (D225) - #3504
Merged
Conversation
added 4 commits
November 21, 2026 02:49
This was referenced Nov 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #3483 (D110).
str.splitis declared in std.string over the runtime's split, and the compiler's copies are deleted: the entry inbuiltin_method_intrinsic, the name-based return-type entry, theBuiltinSigsrow, theMirIntrinsicandCcBuiltinmembers, the arms in the LLVM and C code generators, and its mention in the copy-on-write list.What the battery taught.
with_vec *, while the runtime source declares*mut u8, as it does for every other list-out function (with_vec_new_out,with_vec_push_str). The built-in hid that by emitting its own call. The header now matches the source.List[str].new().Test:
behav_3483_str_split_declared(a call, at compile time, as a method value, on a view, in a pipeline, the empty cases), no leaks under the debug allocator; the C-backend tests pass.Eleven built-in methods have moved so far. On
stronlybyte_atandsliceremain.Stop guard. It listed #3378 as work to start although windows-aarch64 is held (D225). It now skips issues labelled
held, as it skipsblockedandhuman attn needed.Battery green;
:release-checksgreen, on the current main.