summaryrefslogtreecommitdiff
path: root/src/sys/timerfd.rs
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2023-05-20 14:16:36 +0000
committerGitHub <noreply@github.com>2023-05-20 14:16:36 +0000
commitae6699940e8fc75008f94312f189892efdcfb2f0 (patch)
treedcd38426830109db44cad09d48bdfc856fd011f4 /src/sys/timerfd.rs
parentb13b7d18e0d2f4a8c05e41576c7ebf26d6dbfb28 (diff)
parent2f60820c3d11e773826705b7204216aebbad5a6c (diff)
downloadnix-ae6699940e8fc75008f94312f189892efdcfb2f0.zip
Merge #2029
2029: Remove 'static mut' usage in features::os::kernel_version. r=asomers a=zachs18 Resolves #2028 Note that this is (AFAICT) the first use of `Atomic*` types in `nix` (other than tests). However, this shouldn't be a portability issue, since `nix` is not `#![no_std]`, and (IIUC) [`std` requires](https://doc.rust-lang.org/std/sync/atomic/#portability) at least loads and stores of pointer-sized atomics (i.e. `AtomicUsize`), which is all this PR uses. Co-authored-by: Zachary S <zasample18+github@gmail.com>
Diffstat (limited to 'src/sys/timerfd.rs')
0 files changed, 0 insertions, 0 deletions