Skip to content

libc: use more accurate type of sighandler_t on windows

74a6c96
Select commit
Loading
Failed to load commit list.
Open

libc: use more accurate type of sighandler_t on windows #4602

libc: use more accurate type of sighandler_t on windows
74a6c96
Select commit
Loading
Failed to load commit list.
Cirrus CI / nightly freebsd-13 x86_64 failed Jul 31, 2025 in 1m 14s

Task Summary

Instruction test failed in 00:50

Details

✅ 00:08 clone
✅ 00:13 setup
❌ 00:50 test

  error: expected `*` or `+`
     --> /tmp/cirrus-ci-build/target/x86_64-unknown-freebsd/debug/build/libc-test-2a1ed5908c766e03/out/src-hotfix/macros.rs:254:41
      |
  254 |         $variant:ident $(= $value:expr)?,
      |                                         ^

  error: `$value:expr` is followed by `$tail:tt`, which is not allowed for `expr` fragments
     --> /tmp/cirrus-ci-build/target/x86_64-unknown-freebsd/debug/build/libc-test-2a1ed5908c766e03/out/src-hotfix/macros.rs:255:11
      |
  255 |         $($tail:tt)*
      |           ^^^^^^^^

  error: expected `*` or `+`
     --> /tmp/cirrus-ci-build/target/x86_64-unknown-freebsd/debug/build/libc-test-2a1ed5908c766e03/out/src-hotfix/macros.rs:234:13
      |
  234 |             pub enum $ty_name {
      |             ^^^

  error: expected `*` or `+`
     --> /tmp/cirrus-ci-build/target/x86_64-unknown-freebsd/debug/build/libc-test-2a1ed5908c766e03/out/src-hotfix/macros.rs:235:40
      |
  235 |                 $($variant $(= $value)?,)+
      |                                        ^

  error: expected `*` or `+`
     --> /tmp/cirrus-ci-build/target/x86_64-unknown-freebsd/debug/build/libc-test-2a1ed5908c766e03/out/src-hotfix/macros.rs:246:49
      |
  246 |         pub type $ty_name = c_enum!(@ty $($repr)?);
      |                                                 ^

  error: expected `*` or `+`
     --> /tmp/cirrus-ci-build/target/x86_64-unknown-freebsd/debug/build/libc-test-2a1ed5908c766e03/out/src-hotfix/macros.rs:247:59
      |
  247 |         c_enum!(@one; $ty_name; 0; $($variant $(= $value)?,)+);
      |                                                           ^

  error: expected `*` or `+`
     --> /tmp/cirrus-ci-build/target/x86_64-unknown-freebsd/debug/build/libc-test-2a1ed5908c766e03/out/src-hotfix/macros.rs:261:13
      |
  261 |             r
      |             ^

  error: expected identifier, found `::`
     --> /tmp/cirrus-ci-build/target/x86_64-unknown-freebsd/debug/build/libc-test-2a1ed5908c766e03/out/src-hotfix/macros.rs:271:17
      |
  271 |     (@ty) => { $::c_uint };
      |                 ^^

  rust version: 1.90.0-nightly

  thread 'main' panicked at /tmp/cirrus-ci-build/ctest/src/lib.rs:782:33:
  Failed to generate tests: failed to compile `libmain.a`
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...

Exit status: 101