pubgrub-rs
pubgrub
BlogDocsChangelog

Add failing cross platform test for #373

#376
Comparing
konsti/dev/failing-cross-platform-test
(
f78d4dc
) with
dev
(
78da8fd
)
CodSpeed Performance Gauge
0%
Untouched
6

Benchmarks

Passed

backtracking_singletons
benches/backtracking.rs::benches::bench_group
CodSpeed Performance Gauge
0%
4.3 s4.3 s
backtracking_disjoint_versions
benches/backtracking.rs::benches::bench_group
CodSpeed Performance Gauge
0%
2.3 s2.3 s
backtracking_ranges
benches/backtracking.rs::benches::bench_group
CodSpeed Performance Gauge
0%
2 s2 s
sudoku-easy
benches/sudoku.rs::benches::bench_solve
CodSpeed Performance Gauge
0%
3.9 ms3.9 ms
sudoku-hard
benches/sudoku.rs::benches::bench_solve
CodSpeed Performance Gauge
0%
4.3 ms4.3 ms
large_case_u16_NumberVersion.ron
benches/large_case.rs::benches::bench_nested::large_cases
CodSpeed Performance Gauge
0%
25.7 ms25.7 ms

Commits

Click on a commit to change the comparison range
Base
dev
78da8fd
-0.01%
Add failing cross platform test for #373 See https://github.com/pubgrub-rs/pubgrub/issues/373#issuecomment-3384608891. This test fails on 32-bit, where the iteration order of an `FxHashMap` is different: ``` $ cargo test -p pubgrub --test tests same_result_across_platforms --target i686-unknown-linux-gnu -q running 1 test same_result_across_platforms --- FAILED failures: ---- same_result_across_platforms stdout ---- thread 'same_result_across_platforms' panicked at tests/tests.rs:137:5: assertion `left == right` failed left: "964" right: "712" note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace failures: same_result_across_platforms test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 3 filtered out; finished in 0.29s error: test failed, to rerun pass `-p pubgrub --test tests` ```
c1c0118
2 months ago
by konstin
0%
.
f78d4dc
2 months ago
by konstin
© 2025 CodSpeed Technology
Home Terms Privacy Docs