Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge recent changes from maint-0.5 branch into master #45

Merged
merged 21 commits into from
Sep 18, 2021

Commits on Sep 9, 2021

  1. Support Linux on MIPS and ARMv5TE

    These platforms does not provide `std::sync::atomic::AtomicU64`.
    
    - Add a cargo feature "quanta" and make it a default feature.
    - Add a module `common::time` and conditionally choose the source file
      from "time_quanta.rs" or "time_compat.rs".
        - time_quanta.rs file has type aliases to `quanta::{Instant, Clock, Mock}`.
          It also has `AtomicInstant` holding an `AtomicU64`.
        - time_compat.rs file has `Instant` based on `std::time::Instant`
          and quanta-like `Clock` and `Mock`. It also has `AtomicInstant`
          holding a `RwLock<Option<Instant>>`.
    - Update Cache, etc. modules to use `common::time` instead of `quanta`.
    - Add a step to GitHub Actions to test future feature without quanta/
      `AtomicU64`.
    tatsuya6502 committed Sep 9, 2021
    Configuration menu
    Copy the full SHA
    892b694 View commit details
    Browse the repository at this point in the history
  2. cargo fmt

    tatsuya6502 committed Sep 9, 2021
    Configuration menu
    Copy the full SHA
    df2eb3f View commit details
    Browse the repository at this point in the history

Commits on Sep 10, 2021

  1. Support Linux on MIPS and ARMv5TE

    Remove some old codes.
    tatsuya6502 committed Sep 10, 2021
    Configuration menu
    Copy the full SHA
    b05f62c View commit details
    Browse the repository at this point in the history
  2. Support Linux on MIPS and ARMv5TE

    Remove target_arch = "mips" from the cfg_attr for the time module. (It will
    not work when quanta feature is still enabled it Cargo.toml)
    tatsuya6502 committed Sep 10, 2021
    Configuration menu
    Copy the full SHA
    e93fc1e View commit details
    Browse the repository at this point in the history
  3. Support Linux on MIPS and ARMv5TE

    Add a section to the README to explain that `default-features = false` will
    be needed on these platforms.
    tatsuya6502 committed Sep 10, 2021
    Configuration menu
    Copy the full SHA
    2ef09a7 View commit details
    Browse the repository at this point in the history
  4. Update the change log

    tatsuya6502 committed Sep 10, 2021
    Configuration menu
    Copy the full SHA
    4407e87 View commit details
    Browse the repository at this point in the history
  5. Support Linux on MIPS and ARMv5TE

    - Rename the Cargo feature "quanta" to "atomic64".
    - Update the change log and readme.
    - Update a comment in the yml for GitHub Actions.
    tatsuya6502 committed Sep 10, 2021
    Configuration menu
    Copy the full SHA
    515c8b6 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    d91c5ce View commit details
    Browse the repository at this point in the history
  7. Support Linux on MIPS and ARMv5TE

    Ensure to set num threads to 1 for thread pools when `num_cpus::get()` returns 0.
    tatsuya6502 committed Sep 10, 2021
    Configuration menu
    Copy the full SHA
    13263a2 View commit details
    Browse the repository at this point in the history
  8. Merge pull request #39 from moka-rs/mips-armv5

    Support Linux on MIPS and ARMv5TE
    tatsuya6502 committed Sep 10, 2021
    Configuration menu
    Copy the full SHA
    b60bc74 View commit details
    Browse the repository at this point in the history

Commits on Sep 11, 2021

  1. Configuration menu
    Copy the full SHA
    0f62829 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    883216b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d744eb3 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #40 from moka-rs/cross

    CI: Add cross-compile tests for some Linux targets
    tatsuya6502 committed Sep 11, 2021
    Configuration menu
    Copy the full SHA
    988e5a8 View commit details
    Browse the repository at this point in the history

Commits on Sep 16, 2021

  1. Configuration menu
    Copy the full SHA
    1074082 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #42 from messense/quanta

    Restore quanta on 32-bit MIPS and ARMv5TE
    tatsuya6502 committed Sep 16, 2021
    Configuration menu
    Copy the full SHA
    362aac4 View commit details
    Browse the repository at this point in the history

Commits on Sep 18, 2021

  1. Update the change log

    tatsuya6502 committed Sep 18, 2021
    Configuration menu
    Copy the full SHA
    448f6d6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5032ba2 View commit details
    Browse the repository at this point in the history
  3. Update the README

    Remove quanta from the "Resolving compile errors" section.
    tatsuya6502 committed Sep 18, 2021
    Configuration menu
    Copy the full SHA
    8fb4eb7 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #44 from moka-rs/prepare-0.5.4

    Prepare for v0.5.4
    tatsuya6502 committed Sep 18, 2021
    Configuration menu
    Copy the full SHA
    2901497 View commit details
    Browse the repository at this point in the history
  5. Merge branch 'maint-0.5'

    Conflicts:
        CHANGELOG.md
        Cargo.toml
    tatsuya6502 committed Sep 18, 2021
    Configuration menu
    Copy the full SHA
    2033a34 View commit details
    Browse the repository at this point in the history