Skip to content

Conversation

@zeenix
Copy link

@zeenix zeenix commented Nov 27, 2025

This is a no_std variant of std::io::Cursor.

Fixes #631.

The implementation was generated by an LLM by copying the std impl and adapting it. I (Zeeshan) reviewed the code and adjusted small bits. The tests added are a further assurance that the code is doing what it's supposed to do. Of course, it needs to be still reviewed by at least another person before we can be 100% certain about it.

@zeenix zeenix requested a review from a team as a code owner November 27, 2025 17:42
@zeenix zeenix force-pushed the cursor branch 2 times, most recently from e31ac25 to 35adbdf Compare December 4, 2025 18:41
@zeenix
Copy link
Author

zeenix commented Dec 20, 2025

@spookyvision may I ask what makes you 👎 this PR? If it's the use of LLM, perhaps you would have felt fine about this if I hadn't followed the guidelines of the Rust embedded community and hadn't disclosed the use of LLM?

This is a no_std variant of `std::io::Cursor`.

Fixes rust-embedded#631.

The implementation was generated by an LLM by copying the std impl and
adapting it. I (Zeeshan) reviewed the code and adjusted small bits. The
tests added are further guarantee that the code is doing what it's
supposed to do.
@zeenix
Copy link
Author

zeenix commented Dec 30, 2025

I believe I've now addressed all the comments (except for the very unhelpful 👎 reactions from @spookyvision and @jamwaffles, which I can't do anything about).

@Dirbaio Any chance you'd be able to review soon?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature Request] Provide Cursor Implementation in embedded-io

5 participants