-
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.
Replace unstable strict_provenance feature with crate
**Description** - Remove `strict_provenance` and replace with usage of `sptr` crate, which is by the same person who authored the strict provenance change. - Add miri testing section with flags that should enable testing of strict provenance. - Also fix `perfcnt` and `criterion-perf-events` accidentally being added to regular dependencies. Moved those back to dev-dependencies. **Motivation** Partial progress towards #20. Ideally we'd just use the strict_provenance APIs in the standard lib, but those are still unstable (probably will be for some time). **Testing Done** - `cargo build --all-targets` - `cargo test` - `cargo miri test` - `cargo clippy`
- Loading branch information
Declan Kelly
committed
Nov 19, 2022
1 parent
e1d15ca
commit 4f6eb98
Showing
6 changed files
with
51 additions
and
21 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
use sptr::Strict; | ||
|
||
use super::*; | ||
use std::{ | ||
iter::FusedIterator, | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
use sptr::Strict; | ||
|
||
use super::*; | ||
use std::mem; | ||
|
||
|
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