-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Add unsafe functions for turning entry references into pointers. - Add `source` to `LockingError::WouldBlock` - Add `ContiguousMemoryStorage::forget` utility method. - Rename `ContiguousMemoryStorage::store` to `push` so it's more in line with std containers. - Update examples - Rename `ContiguousMemoryRef` to `ContiguousEntryRef` so naming is more in line with the purpose of the struct. - Clean up `ByteRange::aligned` implementation - Fix how `AllocationTracker` provides available `ByteRange`s so they're properly aligned. - Remove `StoreData` trait as it wasn't supposed to be used. - Remove `ContiguousMemoryStorage` trait as it only complicated implementation. - Remove deprecated re-exports. - Add semver checking workflow - Simplify CI workflow Signed-off-by: Tin Svagelj <tin.svagelj@live.com>
- Loading branch information
Showing
18 changed files
with
779 additions
and
306 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
name: Rust | ||
|
||
on: | ||
push: | ||
pull_request: | ||
|
||
env: | ||
CARGO_TERM_COLOR: always | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- run: rustup update nightly && rustup default nightly | ||
- run: cargo install cargo-semver-checks | ||
- name: Run semver check | ||
run: cargo semver-checks check-release |
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.