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 aarch64 compatibility issues #82

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Fix aarch64 compatibility issues #82

wants to merge 3 commits into from

Conversation

ellttBen
Copy link
Contributor

No description provided.

@donbeave
Copy link

Hi, @ellttBen !

Thank you so much for this work!

I'm able to compile this project on Apple M1, but some tests failing when I run cargo test-bpf:

running 10 tests
test state::market_state::market_cast ... ok
test utils::tests::test_round_price ... ok
test test_id ... ok
test state::critbit::tests::simulate_find_min ... FAILED
test state::critbit::tests::simulate_operations ... FAILED
test state::event_queue::tests::test_event_queue_0 ... ok
test state::orderbook::tests::test_ob_booting_ask ... FAILED
test state::orderbook::tests::test_ob_0 ... FAILED
test state::orderbook::tests::test_ob_small_prices ... FAILED
test state::orderbook::tests::test_ob_booting_bid ... FAILED

failures:

---- state::critbit::tests::simulate_find_min stdout ----
thread 'state::critbit::tests::simulate_find_min' panicked at 'cast_slice_mut>TargetAlignmentGreaterAndInputNotAligned', /Users/donbeave/.cargo/registry/src/github.com-1ecc6299db9ec823/bytemuck-1.11.0/src/internal.rs:30:3
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

---- state::critbit::tests::simulate_operations stdout ----
thread 'state::critbit::tests::simulate_operations' panicked at 'cast_slice_mut>TargetAlignmentGreaterAndInputNotAligned', /Users/donbeave/.cargo/registry/src/github.com-1ecc6299db9ec823/bytemuck-1.11.0/src/internal.rs:30:3

---- state::orderbook::tests::test_ob_booting_ask stdout ----
thread 'state::orderbook::tests::test_ob_booting_ask' panicked at 'cast_slice_mut>TargetAlignmentGreaterAndInputNotAligned', /Users/donbeave/.cargo/registry/src/github.com-1ecc6299db9ec823/bytemuck-1.11.0/src/internal.rs:30:3

---- state::orderbook::tests::test_ob_0 stdout ----
thread 'state::orderbook::tests::test_ob_0' panicked at 'cast_slice_mut>TargetAlignmentGreaterAndInputNotAligned', /Users/donbeave/.cargo/registry/src/github.com-1ecc6299db9ec823/bytemuck-1.11.0/src/internal.rs:30:3

---- state::orderbook::tests::test_ob_small_prices stdout ----
thread 'state::orderbook::tests::test_ob_small_prices' panicked at 'cast_slice_mut>TargetAlignmentGreaterAndInputNotAligned', /Users/donbeave/.cargo/registry/src/github.com-1ecc6299db9ec823/bytemuck-1.11.0/src/internal.rs:30:3

---- state::orderbook::tests::test_ob_booting_bid stdout ----
thread 'state::orderbook::tests::test_ob_booting_bid' panicked at 'cast_slice_mut>TargetAlignmentGreaterAndInputNotAligned', /Users/donbeave/.cargo/registry/src/github.com-1ecc6299db9ec823/bytemuck-1.11.0/src/internal.rs:30:3


failures:
    state::critbit::tests::simulate_find_min
    state::critbit::tests::simulate_operations
    state::orderbook::tests::test_ob_0
    state::orderbook::tests::test_ob_booting_ask
    state::orderbook::tests::test_ob_booting_bid
    state::orderbook::tests::test_ob_small_prices

test result: FAILED. 4 passed; 6 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

error: test failed, to rerun pass '--lib'

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