-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make crate compile and pass tests on aarch64 platform
**Description** Use conditional compilation throughout the crate to make it compile and run on aarch64 platform. Mainly removed use of perfcnt crate and associated performance counters on aarch64, revert to wall time for benchmark measurement. One of the tagged pointer test started failing because u128 has a different alignment on aarch64 versus x86. There is a rust-lang issue: rust-lang/rust#54341 **Motivation** This change is needed so I can develop this crate on an M1 mac. **Testing Done** - `cargo test` - `cargo build --all-targets` - `cargo miri test`
- Loading branch information
Showing
3 changed files
with
44 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters