<commit_before>set -ex

if rustup component add miri ; then
    cargo miri setup

    cargo miri test --no-default-features -- -Zmiri-seed=42 -- -Zunstable-options --exclude-should-panic
    cargo miri test --features=serde1,log -- -Zmiri-seed=42 -- -Zunstable-options --exclude-should-panic
    cargo miri test --manifest-path rand_core/Cargo.toml
    cargo miri test --manifest-path rand_core/Cargo.toml --no-default-features
    #cargo miri test --manifest-path rand_distr/Cargo.toml # no unsafe and lots of slow tests
    cargo miri test --manifest-path rand_isaac/Cargo.toml --features=serde1
    cargo miri test --manifest-path rand_pcg/Cargo.toml --features=serde1
    cargo miri test --manifest-path rand_xorshift/Cargo.toml --features=serde1
    cargo miri test --manifest-path rand_xoshiro/Cargo.toml
    cargo miri test --manifest-path rand_chacha/Cargo.toml
    cargo miri test --manifest-path rand_hc/Cargo.toml
    cargo miri test --manifest-path rand_jitter/Cargo.toml
    cargo miri test --manifest-path rand_os/Cargo.toml -- -Zmiri-seed=42
fi<commit_msg>rand_chacha under miri: no std<commit_after>set -ex

if rustup component add miri ; then
    cargo miri setup

    cargo miri test --no-default-features -- -Zmiri-seed=42 -- -Zunstable-options --exclude-should-panic
    cargo miri test --features=serde1,log -- -Zmiri-seed=42 -- -Zunstable-options --exclude-should-panic
    cargo miri test --manifest-path rand_core/Cargo.toml
    cargo miri test --manifest-path rand_core/Cargo.toml --no-default-features
    #cargo miri test --manifest-path rand_distr/Cargo.toml # no unsafe and lots of slow tests
    cargo miri test --manifest-path rand_isaac/Cargo.toml --features=serde1
    cargo miri test --manifest-path rand_pcg/Cargo.toml --features=serde1
    cargo miri test --manifest-path rand_xorshift/Cargo.toml --features=serde1
    cargo miri test --manifest-path rand_xoshiro/Cargo.toml
    cargo miri test --manifest-path rand_chacha/Cargo.toml --no-default-features
    cargo miri test --manifest-path rand_hc/Cargo.toml
    cargo miri test --manifest-path rand_jitter/Cargo.toml
    cargo miri test --manifest-path rand_os/Cargo.toml -- -Zmiri-seed=42
fi
{'fraction_non_alphanumeric': 0.10683172856487849, 'fraction_numerical': 0.009170105456212746, 'mean_word_length': 3.16412213740458, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4692499', 'n_tokens_mistral': 769, 'n_tokens_neox': 759, 'n_words': 190}