Skip to content
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

Add SO_PREFER_BUSY_POLL and SO_BUSY_POLL_BUDGET #3917

Merged
merged 1 commit into from
Mar 4, 2025

Add SO_PREFER_BUSY_POLL and SO_BUSY_POLL_BUDGET

b3884fb
Select commit
Loading
Failed to load commit list.
Merged

Add SO_PREFER_BUSY_POLL and SO_BUSY_POLL_BUDGET #3917

Add SO_PREFER_BUSY_POLL and SO_BUSY_POLL_BUDGET
b3884fb
Select commit
Loading
Failed to load commit list.
Cirrus CI / nightly freebsd-14 x86_64 failed Mar 4, 2025 in 54s

Task Summary

Instruction test failed in 00:28

Details

✅ 00:07 clone
✅ 00:15 setup
❌ 00:28 test

error: extern declarations without an explicit ABI are deprecated
    --> src/macros.rs:217:36
     |
217  |                   pub $($constness)* extern fn $i($($arg: $argty),*) -> $ret
     |                                      ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
     |
    ::: src/unix/bsd/freebsdlike/freebsd/mod.rs:5008:1
     |
5008 | / safe_f! {
5009 | |     pub {const} fn WIFSIGNALED(status: c_int) -> bool {
5010 | |         (status & 0o177) != 0o177 && (status & 0o177) != 0 && status != 0x13
...    |
5052 | | }
     | |_- in this macro invocation
     |
     = note: this error originates in the macro `safe_f` (in Nightly builds, run with -Z macro-backtrace for more info)

error: extern declarations without an explicit ABI are deprecated
   --> src/macros.rs:217:36
    |
217 |                   pub $($constness)* extern fn $i($($arg: $argty),*) -> $ret
    |                                      ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
    |
   ::: src/unix/bsd/freebsdlike/freebsd/freebsd14/mod.rs:512:1
    |
512 | / safe_f! {
513 | |     pub {const} fn makedev(major: c_uint, minor: c_uint) -> crate::dev_t {
514 | |         let major = major as crate::dev_t;
515 | |         let minor = minor as crate::dev_t;
...   |
523 | | }
    | |_- in this macro invocation
    |
    = note: this error originates in the macro `safe_f` (in Nightly builds, run with -Z macro-backtrace for more info)

error: extern declarations without an explicit ABI are deprecated
   --> src/macros.rs:203:43
    |
203 |                   pub $($constness)* unsafe extern fn $i($($arg: $argty),*) -> $ret
    |                                             ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
    |
   ::: src/unix/bsd/freebsdlike/freebsd/freebsd14/mod.rs:525:1
    |
525 | / f! {
526 | |     pub fn major(dev: crate::dev_t) -> c_int {
527 | |         (((dev >> 32) & 0xffffff00) | ((dev >> 8) & 0xff)) as c_int
...   |
533 | | }
    | |_- in this macro invocation
    |
    = note: this error originates in the macro `f` (in Nightly builds, run with -Z macro-backtrace for more info)

error: could not compile `libc` (lib) due to 8 previous errors
warning: build failed, waiting for other jobs to finish...

Exit status: 101