Repository navigation
Add .seek_read_buf_exact() to std::os::windows::fs::FileExt - #163183
Conversation
|
r? @clarfonthey rustbot has assigned @clarfonthey. Use Why was this reviewer chosen?The reviewer was selected based on:
|
|
I would just combine the issues for all the |
This comment has been minimized.
This comment has been minimized.
|
@clarfonthey - is that okay now? I switched to seek_read_exact_seek_write_all as the feature gate. |
d077d8c to
2c29eb7
Compare
|
@clarfonthey Ok, now I think it's ready now. Thanks! Just to check, am I correct that all three features need to be enable for the doc example to work? /// #![feature(core_io_borrowed_buf)]
/// #![feature(read_buf_at)]
/// #![feature(seek_read_exact_seek_write_all)]
|
|
I think |
|
The new |
|
Ah, yeah, never mind then. If the tests don't pass without it, you need it. |
2c29eb7 to
6a6b9b4
Compare
|
Looks good to me! @bors r+ rollup Thank you! |
…rfonthey Add .seek_read_buf_exact() to std::os::windows::fs::FileExt Tracking issue: rust-lang#163183 This adds a `seek_read_buf_exact()` method to `std::os::windows::fs::FileExt` based on the `read_buf_exact_at()` method in `std::os::unix::fs::FileExt`. And this adds a test for `seek_read_buf_exact()` based on the test for `seek_read_buf()`. This extends the work in rust-lang#140771 which added `seek_read_buf()` and the work in rust-lang#162868 which added `seek_read_exact()` and `seek_write_all()` methods to `std::os::windows::fs::FileExt`. No LLMs were used in writing this PR.
…uwer Rollup of 5 pull requests Successful merges: - #162915 (Fix maximum `send` length on non-{Mac, Windows} platforms) - #162373 (Move the foreign module #[link] ABI check to attribute parsing) - #162829 (regression test for inherent associated const ICE) - #163183 (Add .seek_read_buf_exact() to std::os::windows::fs::FileExt) - #163421 (triagebot: Subscribe me to changes in test-float-parse)
|
💔 I suspect this PR failed tests as part of a rollup After fixing the problem, consider running a try job for the failed job before re-approving. Link to failure: #163430 (comment) |
|
This pull request was unapproved. This PR was contained in a rollup (#163430), which was unapproved. |
|
Previous comment was wrong. I think it's fixed now. Yeah, thing is... I don't have a local Windows machine to test with. Shhh. |
6a6b9b4 to
e8434f7
Compare
|
Oh, I had kind of assumed you were testing locally… @bors try jobs=-msvc |
This comment has been minimized.
This comment has been minimized.
Add .seek_read_buf_exact() to std::os::windows::fs::FileExt try-job: *-msvc*
This comment has been minimized.
This comment has been minimized.
e8434f7 to
67cb4ce
Compare
|
Oops, |
|
💔 Test for dac4ab0 failed: CI. Failed jobs:
|
|
@bors try jobs=msvc |
This comment has been minimized.
This comment has been minimized.
Add .seek_read_buf_exact() to std::os::windows::fs::FileExt try-job: *msvc*
|
@clarfonthey Thank you for your patience on this! Looks like it succeeded finally. |
|
@bors r+ rollup Second time's a charm |
…rfonthey Add .seek_read_buf_exact() to std::os::windows::fs::FileExt Tracking issue: rust-lang#163183 This adds a `seek_read_buf_exact()` method to `std::os::windows::fs::FileExt` based on the `read_buf_exact_at()` method in `std::os::unix::fs::FileExt`. And this adds a test for `seek_read_buf_exact()` based on the test for `seek_read_buf()`. This extends the work in rust-lang#140771 which added `seek_read_buf()` and the work in rust-lang#162868 which added `seek_read_exact()` and `seek_write_all()` methods to `std::os::windows::fs::FileExt`. No LLMs were used in writing this PR.
…uwer Rollup of 9 pull requests Successful merges: - #162655 (next solver: prefer to select impl candidates over global where-clause candidates) - #162832 (add `Div` and `Mul` for `Complex<{float}>`) - #162862 (Fix intra doc link resolution when a doc comment is composed of both inner and outer doc comment) - #163024 (Add `Dir` equivalents of `fs::metadata` & `fs::symlink_metadata`) - #163200 (make `RustaceansAreAwesome` satisfy trait bounds) - #163210 (std: split stack overflow module) - #163331 (Move `Arc` and `Rc` into `rcs` mod) - #163183 (Add .seek_read_buf_exact() to std::os::windows::fs::FileExt) - #163450 (Force the correct type variable to never for method resolution on an adjusted never type)
…uwer Rollup of 9 pull requests Successful merges: - #158997 (Avoid recording unnameable `extern crate` aliases in diagnostic metadata) - #162655 (next solver: prefer to select impl candidates over global where-clause candidates) - #162832 (add `Div` and `Mul` for `Complex<{float}>`) - #162862 (Fix intra doc link resolution when a doc comment is composed of both inner and outer doc comment) - #163200 (make `RustaceansAreAwesome` satisfy trait bounds) - #163210 (std: split stack overflow module) - #163331 (Move `Arc` and `Rc` into `rcs` mod) - #163183 (Add .seek_read_buf_exact() to std::os::windows::fs::FileExt) - #163450 (Force the correct type variable to never for method resolution on an adjusted never type)
Rollup merge of #163183 - json420:seek_read_buf_exact, r=clarfonthey Add .seek_read_buf_exact() to std::os::windows::fs::FileExt Tracking issue: #163183 This adds a `seek_read_buf_exact()` method to `std::os::windows::fs::FileExt` based on the `read_buf_exact_at()` method in `std::os::unix::fs::FileExt`. And this adds a test for `seek_read_buf_exact()` based on the test for `seek_read_buf()`. This extends the work in #140771 which added `seek_read_buf()` and the work in #162868 which added `seek_read_exact()` and `seek_write_all()` methods to `std::os::windows::fs::FileExt`. No LLMs were used in writing this PR.
Add .seek_read_buf_exact() to std::os::windows::fs::FileExt Tracking issue: rust-lang/rust#163183 This adds a `seek_read_buf_exact()` method to `std::os::windows::fs::FileExt` based on the `read_buf_exact_at()` method in `std::os::unix::fs::FileExt`. And this adds a test for `seek_read_buf_exact()` based on the test for `seek_read_buf()`. This extends the work in rust-lang/rust#140771 which added `seek_read_buf()` and the work in rust-lang/rust#162868 which added `seek_read_exact()` and `seek_write_all()` methods to `std::os::windows::fs::FileExt`. No LLMs were used in writing this PR.
…uwer Rollup of 9 pull requests Successful merges: - rust-lang/rust#158997 (Avoid recording unnameable `extern crate` aliases in diagnostic metadata) - rust-lang/rust#162655 (next solver: prefer to select impl candidates over global where-clause candidates) - rust-lang/rust#162832 (add `Div` and `Mul` for `Complex<{float}>`) - rust-lang/rust#162862 (Fix intra doc link resolution when a doc comment is composed of both inner and outer doc comment) - rust-lang/rust#163200 (make `RustaceansAreAwesome` satisfy trait bounds) - rust-lang/rust#163210 (std: split stack overflow module) - rust-lang/rust#163331 (Move `Arc` and `Rc` into `rcs` mod) - rust-lang/rust#163183 (Add .seek_read_buf_exact() to std::os::windows::fs::FileExt) - rust-lang/rust#163450 (Force the correct type variable to never for method resolution on an adjusted never type)
…uwer Rollup of 9 pull requests Successful merges: - rust-lang/rust#158997 (Avoid recording unnameable `extern crate` aliases in diagnostic metadata) - rust-lang/rust#162655 (next solver: prefer to select impl candidates over global where-clause candidates) - rust-lang/rust#162832 (add `Div` and `Mul` for `Complex<{float}>`) - rust-lang/rust#162862 (Fix intra doc link resolution when a doc comment is composed of both inner and outer doc comment) - rust-lang/rust#163200 (make `RustaceansAreAwesome` satisfy trait bounds) - rust-lang/rust#163210 (std: split stack overflow module) - rust-lang/rust#163331 (Move `Arc` and `Rc` into `rcs` mod) - rust-lang/rust#163183 (Add .seek_read_buf_exact() to std::os::windows::fs::FileExt) - rust-lang/rust#163450 (Force the correct type variable to never for method resolution on an adjusted never type)
View all comments
Tracking issue: #163183
This adds a
seek_read_buf_exact()method tostd::os::windows::fs::FileExtbased on theread_buf_exact_at()method instd::os::unix::fs::FileExt.And this adds a test for
seek_read_buf_exact()based on the test forseek_read_buf().This extends the work in #140771 which added
seek_read_buf()and the work in #162868 which addedseek_read_exact()andseek_write_all()methods tostd::os::windows::fs::FileExt.No LLMs were used in writing this PR.