Skip to content

cksum: enable encoding feature#6095

Merged
sylvestre merged 1 commit intouutils:mainfrom
cakebaker:cksum_enable_encoding_feature
Mar 20, 2024
Merged

cksum: enable encoding feature#6095
sylvestre merged 1 commit intouutils:mainfrom
cakebaker:cksum_enable_encoding_feature

Conversation

@cakebaker
Copy link
Copy Markdown
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
Copy Markdown
Contributor

we really should add CI for this :/

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