It will find the file descriptors which are file-paths opened by pid automatically, and draw you a progress bar, exiting once the file decriptors have reached the end of the file.
RISC-V without A-extension: Support RMW when Zaamo extension enabled (even when unsafe-assume-single-core disabled). (#185, 9983a8b)
See "operations don't require disabling interrupts" list in interrupt module's readme for the operations provided.
Support run-time detection of RISC-V Zacas extension (currently disabled by default). (#183)
Support 128-bit atomics on Arm64EC (currently nightly-only) (#184)
Improve compile-time detection of powerpc64 quadword-atomics. (3eb8507)
[1.8.0] - 2024-09-20
Improve diagnostics when method that requires CAS is unavailable. (#181)
Before:
error[E0599]: no method named `compare_exchange` found for struct `portable_atomic::AtomicUsize` in the current scope
--> src/race.rs:60:24
|
60 | self.inner.compare_exchange(0, value.get(), Ordering::AcqRel, Ordering::Acquire);
| ^^^^^^^^^^^^^^^^ method not found in `AtomicUsize`
After:
error[E0277]: `compare_exchange` requires atomic CAS but not available on this target by default
--> src/race.rs:60:24
|
60 | self.inner.compare_exchange(0, value.get(), Ordering::AcqRel, Ordering::Acquire);
| ^^^^^^^^^^^^^^^^ this associated function is not available on this target by default
|
= help: the trait `HasCompareExchange` is not implemented for `&portable_atomic::AtomicUsize`
= note: consider enabling one of the `unsafe-assume-single-core` or `critical-section` Cargo features
= note: see <https://docs.rs/portable-atomic/latest/portable_atomic/#optional-features> for more.
Improve compile error messages for some other cases (19716ac, 61dcaaa)
Various improvements to RISC-V.
riscv64: Support 128-bit atomics when Zacas extension enabled. (173) This is currently marked as experimental because LLVM marking the corresponding target feature as experimental.
riscv32: Support 64-bit atomics when Zacas extension enabled. (173) This is currently marked as experimental because LLVM marking the corresponding target feature as experimental.
Improvements for RISC-V without A-extension:
Support zaamo target feature. When building for single-core RISC-V without A-extension, this is equivalent to force-amo feature (8abba4b)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps portable-atomic from 1.6.0 to 1.9.0.
Changelog
Sourced from portable-atomic's changelog.
... (truncated)
Commits
76d9ad5
Release portable-atomic 1.9.07b75991
tools: Update tidy.shab67826
Update changelogd587a5f
tests: Clean up helper macros3b19e14
codegen: Update tests/helper/src/gen/sys3eb8507
powerpc64: quadword-atomics target_feature now available on rustc side66b25f8
ci: Use taiki-e/github-actions/install-rust actiond57150e
ci: Update FreeBSD 13 to 13.402597c5
Documentportable_atomic_target_feature="zaamo"
cfg9983a8b
riscv: Provide all operations of AtomicBool when Zaamo enabledDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show