Information on Finder with BigEndian
#218
|
Hello, Just for information: https://rust-lang.zulipchat.com/#narrow/channel/122651-general/topic/Failling.20CI.20with.20.60aarch64_be-unknown-linux-gnu.60.20and.20nightly/with/596468442 Summary#[test]
fn finder() {
use memchr::memmem::Finder;
let finder = Finder::new(&[80, 75, 6, 6]);
let window = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 80, 75, 6, 6, 0, 0, 0, 0];
finder.find(&window).unwrap();
}# works with the old toolchain
cargo +nightly-2026-05-18-x86_64-unknown-linux-gnu miri test --target aarch64_be-unknown-linux-gnu --no-default-features finder
# FAILS with the new toolchain
cargo +nightly-2026-05-19-x86_64-unknown-linux-gnu miri test --target aarch64_be-unknown-linux-gnu --no-default-features finder
# works with the new toolchain BUT WITHOUT the target flag
cargo +nightly-2026-05-19-x86_64-unknown-linux-gnu miri test --no-default-features finderNote that in all case I'm using the |
Answered by
BurntSushi
May 20, 2026
Replies: 2 comments
|
Thank you! |
0 replies
Answer selected by
BurntSushi
|
Fixed with #222 discussed in rust-lang/miri#5056 (comment) |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you!