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

cksum: enable encoding feature #6095

Merged
merged 1 commit into from
Mar 20, 2024

Conversation

cakebaker
Copy link
Contributor

Running cargo test --features "cksum" --no-default-features currently leads to the following error:

error[E0432]: unresolved import `uucore::encoding`
  --> src/uu/cksum/src/cksum.rs:18:5
   |
18 |     encoding,
   |     ^^^^^^^^ no `encoding` in the root
   |
note: found an item that was configured out
  --> /home/dho/projects/coreutils/src/uucore/src/lib/lib.rs:43:26
   |
43 | pub use crate::features::encoding;
   |                          ^^^^^^^^
   = note: the item is gated behind the `encoding` feature

This PR fixes the issue by enabling the encoding feature.

@sylvestre
Copy link
Sponsor Contributor

we really should add CI for this :/

@sylvestre sylvestre merged commit 597a29b into uutils:main Mar 20, 2024
62 checks passed
@cakebaker cakebaker deleted the cksum_enable_encoding_feature branch March 20, 2024 10:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants