Skip to content
This repository has been archived by the owner on Nov 9, 2019. It is now read-only.

Refactor fd_seek and fd_tell #39

Merged
merged 4 commits into from
Jul 22, 2019
Merged

Refactor fd_seek and fd_tell #39

merged 4 commits into from
Jul 22, 2019

Conversation

kubkon
Copy link
Member

@kubkon kubkon commented Jul 21, 2019

This PR reuses Rust's libstd to refactor fd_seek and fd_tell. In particular, it uses Seek trait to provide platform-independent implementation.

NB since this PR builds on #38, it is a prerequisite for merging.

@kubkon kubkon marked this pull request as ready for review July 22, 2019 05:23
@kubkon
Copy link
Member Author

kubkon commented Jul 22, 2019

cc @alexcrichton @sunfishcode

src/ctx.rs Outdated Show resolved Hide resolved
src/hostcalls/fs.rs Show resolved Hide resolved
@sunfishcode
Copy link
Member

This looks good to me; it just needs some conflicts resolved now.

@kubkon
Copy link
Member Author

kubkon commented Jul 22, 2019

This looks good to me; it just needs some conflicts resolved now.

On it 👍

@kubkon
Copy link
Member Author

kubkon commented Jul 22, 2019

@sunfishcode done! :-)

@sunfishcode
Copy link
Member

Thanks!

@sunfishcode sunfishcode merged commit c4704ba into CraneStation:master Jul 22, 2019
@kubkon kubkon deleted the seek_n_tell branch July 22, 2019 23:05
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants