-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
no_std support, more minimal and less intrusive version (#93)
* Support building for no_std using nightly Rust compiler - Adds a new feature `experimental-thread-local` that enables building for no_std targets. If this feature is not enabled, the crate is identical as before, still allowing for compilation using Rust stable >= 1.38.0. - The `experimental-thread-local` feature makes use of experimental features `thread_local` and `lazy_cell`, thus requiring a nightly Rust compiler. - Support for `std::sync::RwLock` is dropped in no_std builds.
- Loading branch information
Showing
17 changed files
with
152 additions
and
65 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,7 +31,7 @@ jobs: | |
- name: Run cargo-tarpaulin | ||
uses: actions-rs/[email protected] | ||
with: | ||
args: '--all-features --run-types Doctests,Tests' | ||
args: '--features weak,internal-test-strategies,experimental-strategies --run-types Doctests,Tests' | ||
timeout: 120 | ||
|
||
- name: Upload to codecov.io | ||
|
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
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
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
Oops, something went wrong.
229c7ee
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Track benchmarks
uncontended/load
6
ns/iter (± 0
)6
ns/iter (± 0
)1
uncontended/load_full
9
ns/iter (± 0
)9
ns/iter (± 0
)1
uncontended/load_many
14
ns/iter (± 0
)14
ns/iter (± 0
)1
uncontended/store
53
ns/iter (± 1
)53
ns/iter (± 0
)1
uncontended/cache
0
ns/iter (± 0
)0
ns/iter (± 0
)1
concurrent_loads/load
6
ns/iter (± 0
)12
ns/iter (± 0
)0.50
concurrent_loads/load_full
12
ns/iter (± 0
)12
ns/iter (± 0
)1
concurrent_loads/load_many
14
ns/iter (± 0
)23
ns/iter (± 0
)0.61
concurrent_loads/store
595
ns/iter (± 60
)529
ns/iter (± 1
)1.12
concurrent_loads/cache
1
ns/iter (± 0
)1
ns/iter (± 0
)1
concurrent_store/load
51
ns/iter (± 1
)49
ns/iter (± 2
)1.04
concurrent_store/load_full
66
ns/iter (± 3
)72
ns/iter (± 3
)0.92
concurrent_store/load_many
86
ns/iter (± 0
)88
ns/iter (± 0
)0.98
concurrent_store/store
615
ns/iter (± 4
)607
ns/iter (± 4
)1.01
concurrent_store/cache
1
ns/iter (± 0
)1
ns/iter (± 0
)1
utilities/access-map
6
ns/iter (± 0
)6
ns/iter (± 0
)1
This comment was automatically generated by workflow using github-action-benchmark.