File tree 5 files changed +18
-3
lines changed
5 files changed +18
-3
lines changed Original file line number Diff line number Diff line change @@ -226,8 +226,7 @@ jobs:
226
226
- run : cargo check -Z build-std --target=aarch64-unknown-nto-qnx710 --features=all-apis
227
227
- run : cargo check -Z build-std --target=x86_64-pc-nto-qnx710 --features=all-apis
228
228
- run : cargo check -Z build-std --target=armv6k-nintendo-3ds --all-features
229
- # Temporarily disable armv7-sony-vita-newlibeabihf, as it gets build errors.
230
- # - run: cargo check -Z build-std --target=armv7-sony-vita-newlibeabihf --features=all-apis
229
+ - run : cargo check -Z build-std --target=armv7-sony-vita-newlibeabihf --features=all-apis
231
230
- run : cargo check -Z build-std --target=powerpc64-ibm-aix --features=all-apis
232
231
- run : cargo check -Z build-std --target=mipsel-unknown-linux-gnu --features=all-apis
233
232
- run : cargo check -Z build-std --target=mips64el-unknown-linux-gnuabi64 --features=all-apis
Original file line number Diff line number Diff line change @@ -93,7 +93,7 @@ use core::slice;
93
93
/// If you see errors like
94
94
/// "captured variable cannot escape `FnMut` closure body",
95
95
/// use an explicit loop instead of `retry_on_intr`, assuming you're using
96
- /// that. See `error_retry_closure_uninit` in examples.rs.
96
+ /// that. See `error_retry_closure_uninit` in examples/buffer_errors .rs.
97
97
pub trait Buffer < T > : private:: Sealed < T > { }
98
98
99
99
// Implement `Buffer` for all the types that implement `Sealed`.
Original file line number Diff line number Diff line change @@ -65,6 +65,10 @@ use bsd as platform;
65
65
/// drivers in the kernel, and safety depends on both sides agreeing and
66
66
/// upholding the expectations of the other.
67
67
///
68
+ /// And, `ioctl` calls can read and write arbitrary memory and have arbitrary
69
+ /// side effects. Callers must ensure that any memory accesses and side effects
70
+ /// are compatible with Rust language invariants.
71
+ ///
68
72
/// # References
69
73
/// - [Linux]
70
74
/// - [Winsock]
Original file line number Diff line number Diff line change @@ -12,8 +12,13 @@ pub use backend::rand::types::GetRandomFlags;
12
12
/// This is a very low-level API which may be difficult to use correctly. Most
13
13
/// users should prefer to use [`getrandom`] or [`rand`] APIs instead.
14
14
///
15
+ /// This function is implemented using a system call, and not the
16
+ /// [vDSO mechanism] introduced in Linux 6.11. See [#1185] for details.
17
+ ///
15
18
/// [`getrandom`]: https://crates.io/crates/getrandom
16
19
/// [`rand`]: https://crates.io/crates/rand
20
+ /// [vDSO mechanism]: https://lwn.net/Articles/983186/
21
+ /// [#1185]: https://github.com/bytecodealliance/rustix/issues/1185
17
22
///
18
23
/// # References
19
24
/// - [Linux]
Original file line number Diff line number Diff line change 29
29
//! program or what they're doing, but the features in this module generally
30
30
//! can only be used by one entity within a process.
31
31
//!
32
+ //! All that said, there are some functions in this module would could
33
+ //! potentially be stabilized and moved to other modules. See also the
34
+ //! documentation for specific functions in the [`not_implemented`] module, and
35
+ //! the discussion in [#1314].
36
+ //!
32
37
//! [Origin]: https://github.com/sunfishcode/origin#readme
38
+ //! [`not_implemented`]: crate::not_implemented
39
+ //! [#1314]: https://github.com/bytecodealliance/rustix/issues/1314
33
40
//!
34
41
//! # Safety
35
42
//!
You can’t perform that action at this time.
0 commit comments