defihook / Rust-post-progress

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.
BSD 3-Clause "New" or "Revised" License
9 stars 4 forks source link

Bump portable-atomic from 1.6.0 to 1.9.0 #18

Closed dependabot[bot] closed 1 month ago

dependabot[bot] commented 1 month ago

Bumps portable-atomic from 1.6.0 to 1.9.0.

Changelog

Sourced from portable-atomic's changelog.

[1.9.0] - 2024-09-28

  • 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)
      • Support zabha target feature. (694364a)
      • Strengthen SeqCst store to improve compatibility with code that uses atomic instruction mapping that differs from LLVM and GCC. (5b10b15)
  • Improve support of run-time detection and outline-atomics:

... (truncated)

Commits
  • 76d9ad5 Release portable-atomic 1.9.0
  • 7b75991 tools: Update tidy.sh
  • ab67826 Update changelog
  • d587a5f tests: Clean up helper macros
  • 3b19e14 codegen: Update tests/helper/src/gen/sys
  • 3eb8507 powerpc64: quadword-atomics target_feature now available on rustc side
  • 66b25f8 ci: Use taiki-e/github-actions/install-rust action
  • d57150e ci: Update FreeBSD 13 to 13.4
  • 02597c5 Document portable_atomic_target_feature="zaamo" cfg
  • 9983a8b riscv: Provide all operations of AtomicBool when Zaamo enabled
  • Additional commits viewable in compare view


Dependabot compatibility score

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)