Forbid unsafe_op_in_unsafe_fn in vxworks specific os and sys files · patricklam/verify-rust-std@7850a64 (original) (raw)
Navigation Menu
- GitHub Copilot Write better code with AI
- GitHub Models New Manage and compare prompts
- GitHub Advanced Security Find and fix vulnerabilities
- Actions Automate any workflow
- Codespaces Instant dev environments
- Issues Plan and track work
- Code Review Manage code changes
- Discussions Collaborate outside of code
- Code Search Find more, search less
- Explore
- Pricing
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Appearance settings
Commit 7850a64
B I Mohammed Abbas
committed
Forbid unsafe_op_in_unsafe_fn in vxworks specific os and sys files
File tree
2 files changed
lines changed
2 files changed
lines changed
Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
1 | 1 | //! VxWorks-specific definitions |
2 | 2 | |
3 | 3 | #![stable(feature = "raw_ext", since = "1.1.0")] |
4 | +#![forbid(unsafe_op_in_unsafe_fn)] | |
4 | 5 | |
5 | 6 | pub mod fs; |
6 | 7 | pub mod raw; |
Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
1 | +#![forbid(unsafe_op_in_unsafe_fn)] | |
1 | 2 | use libc::{self, c_char, c_int, RTP_ID}; |
2 | 3 | |
3 | 4 | use crate::io::{self, ErrorKind}; |