Skip to content

Fails to compile with selinux feature enabled #17038

In review

Description

@xtqqczze

Steps to reproduce

cargo-zigbuild check -q --all-targets --features selinux --target x86_64-unknown-linux-gnu

Expected behavior

Compilation succeeds.

Actual behavior

Compilation fails with the selinux feature enabled.

error[E0432]: unresolved import `uucore::selinux`
   --> tests/by-util/test_cp.rs:12:13
    |
 12 | use uucore::selinux::get_getfattr_output;
    |             ^^^^^^^ could not find `selinux` in `uucore`
    |
note: found an item that was configured out
   --> src/uucore/src/lib/lib.rs:155:26
    |
154 | #[cfg(all(feature = "selinux", any(target_os = "linux", target_os = "android")))]
    |           ------------------- the item is gated behind the `selinux` feature
155 | pub use crate::features::selinux;
    |                          ^^^^^^^

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions