You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tests: skip closure boehm steps when libgc is unavailable (fix ubuntu-musl CI)
The closure_lifetime_api and closure_context_skip_unused tests shell out
to '-gc boehm'/'-gc boehm_leak' subprocesses and assert success. On the
docker-ubuntu-musl image there is no musl-compatible Boehm GC library, so
those builds fail with 'ld: cannot find -lgc'. The existing missing-lib
guard only covered boehm_leak mode and matched the substring 'libgc',
which the musl linker error does not contain.
Broaden the detector to recognize the real error formats (-lgc,
-lgc-threaded, macOS "library 'gc' not found", missing libgc.so) and
apply the skip-when-missing guard to all non-none GC modes. Boehm
coverage is preserved wherever the library is available (alpine, glibc,
macOS); only genuine missing-lib failures are skipped.
0 commit comments