Skip to content

Conversation

cakebaker
Copy link
Contributor

Running cargo test --features=uptime --no-default-features currently leads to an "unresolved import chrono" error:

error[E0432]: unresolved import `chrono`
  --> src/uucore/src/lib/features/uptime.rs:16:5
   |
16 | use chrono::Local;
   |     ^^^^^^ use of unresolved module or unlinked crate `chrono`

This PR fixes this issue by adding chrono to the uptime feature.

Copy link

GNU testsuite comparison:

Skip an intermittent issue tests/misc/stdbuf (fails in this run but passes in the 'main' branch)

@sylvestre sylvestre merged commit 593b141 into uutils:main Apr 10, 2025
69 checks passed
@cakebaker cakebaker deleted the uucore_fix_unresolved_import branch April 10, 2025 16:26
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