diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-10-03 15:29:04 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-03 15:29:04 +0000 |
commit | 7e46b95057b0d8e391c3fb72fdec08f3a4689631 (patch) | |
tree | 15ab6d6e58302b862c590ce49102e7ef465803f3 /test/test_kmod | |
parent | 7ed28204ec7de979d64802ee1621d5d09be61858 (diff) | |
parent | f5ee22db489f78b9c003ef60b7ad1b837503bc4a (diff) | |
download | nix-7e46b95057b0d8e391c3fb72fdec08f3a4689631.zip |
Merge #1296
1296: DragonFlyBSD: use __errno_location now provided by the libc crate r=asomers a=cmusser
Dragonfly recently (in Dfly 5.8) added an `__errno_location()` function to make it easy to access the thread-local `errno` variable. This has been exposed in rust-libc as of 0.2.77. This PR uses that functionality instead of the locally compiled C language shim, which the PR removes. One issue is backwards compatibilty. It requires 0.2.77 libc and DragonFly 5.8. Not sure how to gracefully handle older DragonFly versions, although I'm also not sure doing so is worth it.
Co-authored-by: Chuck Musser <cmusser@sonic.net>
Diffstat (limited to 'test/test_kmod')
0 files changed, 0 insertions, 0 deletions