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

Enhance rand to support macos #159

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Commits on Mar 18, 2022

  1. rand: fix bug in timestamp_cycles() on non-x86 arch

    The rand::timestamp_cycles() may return duplicated value on non-x86
    architectures, so fixes it by retry.
    
    Signed-off-by: Liu Jiang <[email protected]>
    jiangliu committed Mar 18, 2022
    Configuration menu
    Copy the full SHA
    c5bc04a View commit details
    Browse the repository at this point in the history
  2. tempdir: relax unit test cases to support macos

    Some assumptions in unit test cases are not suitable for Darwin/macos,
    so relax those test cases.
    
    Signed-off-by: Liu Jiang <[email protected]>
    jiangliu committed Mar 18, 2022
    Configuration menu
    Copy the full SHA
    4539c51 View commit details
    Browse the repository at this point in the history