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

Fix "bench1" in debug mode #770

Merged

Conversation

Philippe-Cholet
Copy link
Member

Closes #768

Benches use the release profile so this was silently ignored.
But cargo test --all-targets uses the debug profile so it does not ignore it.

wrapping_add is the default behavior so I just call it explicitely.

Then cargo test --all-targets passes.

Benches use the `release` profile so this was silently ignored.
But `cargo test --all-targets` uses the `debug` profile so it does not ignore it.
@phimuemue phimuemue force-pushed the test-all-targets-fix branch from abf62b6 to c23eed6 Compare October 3, 2023 18:26
@phimuemue phimuemue added this pull request to the merge queue Oct 3, 2023
Merged via the queue into rust-itertools:master with commit 0897f56 Oct 3, 2023
8 checks passed
@Philippe-Cholet Philippe-Cholet deleted the test-all-targets-fix branch October 3, 2023 22:22
@jswrenn jswrenn mentioned this pull request Nov 14, 2023
@jswrenn jswrenn added this to the next milestone Nov 14, 2023
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.

cargo test --all-targets fails
3 participants