Skip to content

Conversation

@cakebaker
Copy link
Contributor

@cakebaker cakebaker commented Feb 1, 2025

This PR removes Windows-related code because uptime is defined as unix-only in Cargo.toml. It also removes some unnecessary #[cfg(unix)] flags.

Thanks to @Bluemangoo for mentioning it on discord.

because uptime is unix-only
@github-actions
Copy link

github-actions bot commented Feb 1, 2025

GNU testsuite comparison:

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

@sylvestre
Copy link
Contributor

i wonder why it isn't on Windows. sorry but why not supporting it for real on Windows instead ? :)

@cakebaker
Copy link
Contributor Author

Closing this PR as it is outdated.

@cakebaker cakebaker closed this May 5, 2025
@cakebaker cakebaker deleted the uptime_remove_windows_code branch May 5, 2025 12:40
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