Some stdlib extensions, and a missing case in the pretty printer#266
Closed
marijnh wants to merge 2 commits intorust-lang:masterfrom
marijnh:master
Closed
Some stdlib extensions, and a missing case in the pretty printer#266marijnh wants to merge 2 commits intorust-lang:masterfrom marijnh:master
marijnh wants to merge 2 commits intorust-lang:masterfrom
marijnh:master
Conversation
Contributor
Author
|
Oh, one thing to keep in mind is that that last patch is probably broken on Windows. Leave it out when you pull, we'll discuss how to do cross-platform stuff on IRC. |
std.fs.list_dir will list the files in a directory, std.fs.file_is_dir will, given a pathname, determine whether it is a directory or not.
Writer and reader streams now come with methods to write and read little-endian numbers. Whether that is the right place for such methods is debatable, but for now, that's where they live.
Contributor
Author
|
Okay, new patch. This one has been tested on all three platforms (and split into two, for clarity) I'd like you to especially double-check the rust_builtin.cpp stuff in 2330c96 . The only thing I can say for it is that it works, but I don't really understand the refcounting implications, and whether there might be less ugly ways to do what I'm doing there. |
Contributor
Author
|
Closing this, since the name no longer applies. |
oli-obk
added a commit
to oli-obk/rust
that referenced
this pull request
Sep 19, 2017
Always test alignment in memory.rs
kazcw
pushed a commit
to kazcw/rust
that referenced
this pull request
Oct 23, 2018
* Implement `_mm_add_pi16` * Implement `_mm_add_pi8` * Implement `_mm_add_pi32` * Implement `_mm_adds_pi16` * Implement `_mm_adds_pi8` * Implement `_mm_adds_pu8` * Implement `_mm_adds_pu16`
antoyo
added a commit
to antoyo/rust
that referenced
this pull request
Jun 19, 2023
Run emulated stdarch tests in the CI
celinval
pushed a commit
to celinval/rust-dev
that referenced
this pull request
Jun 4, 2024
* Support atomic exchange primitives * PR comments
carolynzech
pushed a commit
to carolynzech/rust
that referenced
this pull request
May 22, 2025
This PR adds: - Challenge 20 21: for functions in str::pattern.rs - Challenge 22: for functions in str::iter.rs Resolves #ISSUE-NUMBER By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 and MIT licenses. --------- Co-authored-by: Michael Tautschnig <mt@debian.org> Co-authored-by: Carolyn Zech <cmzech@amazon.com> Co-authored-by: Michael Tautschnig <tautschn@amazon.com>
This pull request was closed.
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.
No description provided.