Skip to content

Commit 5d19070

Browse files
authored
Push kurrttzmwvup (#33)
Cleanup from rust-random/rand#1692 and #24.
1 parent 9606d3b commit 5d19070

File tree

2 files changed

+8
-14
lines changed

2 files changed

+8
-14
lines changed

.github/workflows/test.yml

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Main tests
1+
name: Tests
22

33
on:
44
push:
@@ -44,7 +44,7 @@ jobs:
4444
with:
4545
toolchain: nightly
4646
- name: rand_core
47-
run: cargo doc --all-features --no-deps
47+
run: cargo doc --no-deps
4848

4949
test:
5050
runs-on: ${{ matrix.os }}
@@ -92,11 +92,9 @@ jobs:
9292
- run: ${{ matrix.deps }}
9393
- name: Maybe minimal versions
9494
if: ${{ matrix.variant == 'minimal_versions' }}
95-
run: |
96-
cargo generate-lockfile -Z minimal-versions
95+
run: cargo generate-lockfile -Z minimal-versions
9796
- name: Test rand_core
98-
run: |
99-
cargo test --target ${{ matrix.target }}
97+
run: cargo test --target ${{ matrix.target }}
10098

10199
test-cross:
102100
runs-on: ${{ matrix.os }}
@@ -123,9 +121,7 @@ jobs:
123121
- name: Install cross
124122
run: cargo install cross || true
125123
- name: Test
126-
run: |
127-
# all stable features:
128-
cross test --no-fail-fast --target ${{ matrix.target }}
124+
run: cross test --no-fail-fast --target ${{ matrix.target }}
129125

130126
test-miri:
131127
runs-on: ubuntu-latest
@@ -137,8 +133,7 @@ jobs:
137133
rustup override set nightly
138134
cargo miri setup
139135
- name: Test (miri)
140-
run: |
141-
cargo miri test
136+
run: cargo miri test
142137

143138
test-no-std:
144139
runs-on: ubuntu-latest
@@ -149,7 +144,7 @@ jobs:
149144
with:
150145
target: thumbv6m-none-eabi
151146
- name: Build top-level only
152-
run: cargo build --target=thumbv6m-none-eabi --no-default-features
147+
run: cargo build --target=thumbv6m-none-eabi
153148

154149
test-ios:
155150
runs-on: macos-latest

src/lib.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@
55
#![doc = include_str!("../README.md")]
66
#![doc(
77
html_logo_url = "https://www.rust-lang.org/logos/rust-logo-128x128-blk.png",
8-
html_favicon_url = "https://www.rust-lang.org/favicon.ico",
9-
html_root_url = "https://rust-random.github.io/rand/"
8+
html_favicon_url = "https://www.rust-lang.org/favicon.ico"
109
)]
1110
#![cfg_attr(docsrs, feature(doc_cfg))]
1211
#![deny(

0 commit comments

Comments
 (0)