Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A10 on stable Rust #63

Closed
10 tasks
Thomasdezeeuw opened this issue Apr 17, 2023 · 0 comments · Fixed by #66
Closed
10 tasks

A10 on stable Rust #63

Thomasdezeeuw opened this issue Apr 17, 2023 · 0 comments · Fixed by #66
Labels
enhancement New feature or request

Comments

@Thomasdezeeuw
Copy link
Owner

Below is a list of nightly features used in order of (roughly) to-be-solved-first to to-be-solved-last/easiest-to-solve-now, in other words the ones at the top are harder to solve so start with those (no point in losing functionality if we're still on nightly for another feature).

  • slice_ptr_get: used in various places.
  • ptr_sub_ptr: only used in ReadBuf::release.
  • maybe_uninit_array_assume_init: used in the BufMutSlice implementation for arrays and tuples.
  • maybe_uninit_uninit_array: used in the BufMutSlice implementation for arrays and tuples.
  • io_error_more: used in the From<QueueFull> impl for QueueFull, could use io::ErrorKind::Other for the time being.
  • async_iterator: used in multishot futures, could be replaced with a separate poll_next method.
  • new_uninit: used in a couple of Futures, could use Box::new(MaybeUninit::new()), although I think that's less efficient.
  • const_cmp: only used in Config::with_idle_timeout, could be made non-const.
  • const_mut_refs: used in Submission::set_user_data and Submission::set_buffer_select, could be made non-const.
  • mutex_unlock: used in SubmissionQueue::add_no_result and ReadBuf::release, can easily be replaced with a call to drop (and maybe a comment).
@Thomasdezeeuw Thomasdezeeuw added the enhancement New feature or request label Apr 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant