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

Remove unused kernel diagnostic from io-uring-test #287

Merged
merged 1 commit into from
May 22, 2024

Conversation

daniel-levin
Copy link
Contributor

Hello there! I am a happy user of this library with a small contribution to make. I want to remove a field from the Test struct.

The io-uring-test crate is broken on any system for which uname returns a kernel version that doesn't conform to semver. This includes Fedora Linux, where uname might return a release such as 6.8.9-300.fc40.x86_64. I was going to file an issue but then I noticed this code isn't actually used anywhere. By removing this field from Test I'd fix the issue for myself and others, while also removing the dependency on the semver crate.

* This diagnostic is both unused and unreliable because
  uname may return kernel versions that semver cannot
  parse, such as '6.8.9-300.fc40.x86_64'.
@quininer
Copy link
Member

Given that we're not using it, it's good to remove it. We can reintroduce it if necessary. Thank you!

@quininer quininer merged commit 02a27c9 into tokio-rs:master May 22, 2024
12 checks passed
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