Stabilize CString::from_vec_with_nul[_unchecked]#89292
Stabilize CString::from_vec_with_nul[_unchecked]#89292bors merged 2 commits intorust-lang:masterfrom
Conversation
|
(rust-highfive has picked a reviewer for you, use r? to override) |
|
Hmm, apparently |
This comment has been minimized.
This comment has been minimized.
|
You can |
|
@nagisa TIL, thanks! |
It turns out that using vec as a buffer works, and it is even more performant. And when rust-lang/rust#89292 will be merged, things will be even simpler (no pop from the buffer).
|
This seems reasonable to me. Tagging as waiting-on-fcp; the FCP is in the tracking issue. |
|
☔ The latest upstream changes (presumably #89755) made this pull request unmergeable. Please resolve the merge conflicts. |
|
☔ The latest upstream changes (presumably #89813) made this pull request unmergeable. Please resolve the merge conflicts. |
|
FCP has been complete, could you rebase onto master instead of merging? |
Absolutely. Is there a |
This comment has been minimized.
This comment has been minimized.
|
@JohnTitor 🤔 I do not know what to do about the error that changing the version caused. Perhaps rebasing will fix it? |
It exists but has some bugs/undesired behavior e.g. rust-lang/homu#158. So I recommend force-pushing.
That's because you changed the version number as an additional commit, squashing commits into one should fix it. |
3a585f6 to
86b3dd9
Compare
|
✅ Squashed and rebased |
This comment has been minimized.
This comment has been minimized.
|
🤔 I've squashed down to a single commit, but CI is still unhappy about the multiple version numbers. |
Co-authored-by: Yuki Okushi <jtitor@2k36.org>
|
Thanks! r+'ing in favor of FCP. |
|
📌 Commit 39af41e has been approved by |
…_with_nul, r=JohnTitor Stabilize CString::from_vec_with_nul[_unchecked] Closes the tracking issue rust-lang#73179. I am keeping this in _draft_ mode until the FCP has ended. This is my first time stabilizing a feature, so I would appreciate any guidance on things I should do differently. Closes rust-lang#73179
Rollup of 14 pull requests Successful merges: - rust-lang#86984 (Reject octal zeros in IPv4 addresses) - rust-lang#87440 (Remove unnecessary condition in Barrier::wait()) - rust-lang#88644 (`AbstractConst` private fields) - rust-lang#89292 (Stabilize CString::from_vec_with_nul[_unchecked]) - rust-lang#90010 (Avoid overflow in `VecDeque::with_capacity_in()`.) - rust-lang#90029 (Add test for debug logging during incremental compilation) - rust-lang#90031 (config: add the option to enable LLVM tests) - rust-lang#90048 (Add test for line-number setting) - rust-lang#90071 (Remove hir::map::blocks and use FnKind instead) - rust-lang#90074 (2229 migrations small cleanup) - rust-lang#90077 (Make `From` impls of NonZero integer const.) - rust-lang#90097 (Add test for duplicated sidebar entries for reexported macro) - rust-lang#90098 (Add test to ensure that the missing_doc_code_examples is not triggered on foreign trait implementations) - rust-lang#90099 (Fix MIRI UB in `Vec::swap_remove`) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
Closes the tracking issue #73179. I am keeping this in draft mode until the FCP has ended.
This is my first time stabilizing a feature, so I would appreciate any guidance on things I should do differently.
Closes #73179