coreutils/.github
Cả thế giới là Rust 02312bfffd
fix: Gate SELinux to Linux and add cross-platform CI tests (#8795)
Gate SELinux functionality to Linux-only and provide stub implementations
for chcon/runcon on non-Linux platforms to maintain cross-platform builds.

Changes:
- Gate all SELinux code with target_os = "linux" checks
- Add stub main() for chcon/runcon on non-Linux with user-friendly errors
- Add CI job to verify stubs build correctly on macOS and Windows
- Update ls to check both selinux feature AND target_os

Benefits:
- Fixes build failures on macOS/Windows (#8581, #7996, #7695, #6491)
- Maintains workspace buildability across all platforms
- Provides clear error messages instead of silent failures
- Prevents accidental SELinux usage on unsupported platforms

CI Testing:
- New 'Build/SELinux-Stubs (Non-Linux)' job tests macOS and Windows
- Verifies stub binaries are created and compilation succeeds
- Validates full workspace builds with stubs present

Addresses maintainer feedback in PR #8795
2025-10-05 14:23:59 +02:00
..
workflows fix: Gate SELinux to Linux and add cross-platform CI tests (#8795) 2025-10-05 14:23:59 +02:00
fluent_linter_config.yml Use mozilla fluent linter (and remove mine) 2025-06-28 19:01:33 +02:00
FUNDING.yml Create a FUNDING.yml file 2023-06-11 18:53:42 +02:00
stale.yml Extend the stale bot to 3 years 2023-01-30 08:51:28 +01:00