Skip to content

Conversation

@nyurik
Copy link
Contributor

@nyurik nyurik commented Apr 9, 2025

The #[expect(...)] is usually better than #[allow(...)] because it verifies the assumption that disabling a warning is still relevant to the code - thus eliminating the dead code when warning is no longer there.

Here I tried to replace most allow with expect, and add some conditional compilation to ensure linux/window separation is cleaner

@github-actions
Copy link

github-actions bot commented Apr 9, 2025

GNU testsuite comparison:

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

@github-actions
Copy link

github-actions bot commented Apr 9, 2025

GNU testsuite comparison:

Skipping an intermittent issue tests/misc/stdbuf (passes in this run but fails in the 'main' branch)
Congrats! The gnu test tests/misc/tee is no longer failing!

@nyurik nyurik marked this pull request as draft April 9, 2025 08:02
The `#[expect(...)]` is usually better than `#[allow(...)]` because it verifies the assumption that disabling a warning is still relevant to the code - thus eliminating the dead code when warning is no longer there.

Here I tried to replace some  conditional compilation to ensure linux/window separation is cleaner, and fix a few non-obvious cases
@github-actions
Copy link

GNU testsuite comparison:

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

@sylvestre
Copy link
Contributor

please reopen when it is ready

@sylvestre sylvestre closed this Oct 6, 2025
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