Skip to content

Break rt::uvio out into submodules #8632

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

Closed
brson opened this issue Aug 20, 2013 · 1 comment
Closed

Break rt::uvio out into submodules #8632

brson opened this issue Aug 20, 2013 · 1 comment
Labels
C-cleanup Category: PRs that clean code up or issues documenting cleanup.

Comments

@brson
Copy link
Contributor

brson commented Aug 20, 2013

This is where the trickiest part of the I/O implementation lives and it's starting to get a bit big.

@alexcrichton
Copy link
Member

This has been done.

flip1995 pushed a commit to flip1995/rust that referenced this issue Apr 7, 2022
Don't lint `cast_ptr_alignment` when used for unaligned reads and writes

fixes rust-lang#2881

Ideally this would trace the usage of the value rather than only looking at the parent expression, but that would require dataflow analysis. e.g.
```rust
let x = ptr as *const u16;
c.read_unaligned(x);
```

Arch specific intrinsic functions need to be checked for ones which could take an unaligned pointer. This can be another PR.

changelog: Don't lint `cast_ptr_alignment` when used for unaligned reads and writes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-cleanup Category: PRs that clean code up or issues documenting cleanup.
Projects
None yet
Development

No branches or pull requests

2 participants