diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a5d77d39..e2a6015f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -55,7 +55,7 @@ jobs: with: bins: cross - - run: ${{ matrix.cross && 'cross' || 'cargo' }} build --locked --release --features vendored-openssl --bin cargo-codspeed --target ${{ matrix.target }} + - run: ${{ matrix.cross && 'cross' || 'cargo' }} build --locked --release --bin cargo-codspeed --target ${{ matrix.target }} - name: Upload Release Asset id: upload-release-asset diff --git a/crates/divan_compat/README.md b/crates/divan_compat/README.md index 832c29bb..00eab265 100644 --- a/crates/divan_compat/README.md +++ b/crates/divan_compat/README.md @@ -77,5 +77,6 @@ Finished running 1 benchmark suite(s) ### Not supported: -- `divan::bench(const = xxx)`: we do not support this feature yet, if you need it don't hesitate to create an issue. -- `divan::bench(crate = xxx)`: due to how the compatibility layer works internally, we do not plan to support this feature. +- [`divan::bench(crate = xxx)`](https://docs.rs/divan/latest/divan/attr.bench.html#crate): due to how the compatibility layer works internally, we do not plan to support this feature. +- [`divan::bench(consts = xxx)`](https://docs.rs/divan/latest/divan/attr.bench.html#consts): we do not support this feature yet, if you need it don't hesitate to create an issue. +- [`divan::bench_group`](https://docs.rs/divan/latest/divan/attr.bench_group.html): we do not support benchmark grouping this feature yet, if you need it don't hesitate to create an issue. diff --git a/crates/divan_compat/examples/benches/math.rs b/crates/divan_compat/examples/benches/math.rs index b963fdfb..9f6b08b7 100644 --- a/crates/divan_compat/examples/benches/math.rs +++ b/crates/divan_compat/examples/benches/math.rs @@ -1,4 +1,4 @@ -//! Copied from divan's exmaples +//! Copied from divan's examples use divan::black_box; use std::collections::{BTreeMap, HashMap}; @@ -63,7 +63,6 @@ mod fibonacci { } } - #[allow(dead_code)] trait Map: Default { fn get(&self, key: u64) -> Option; fn set(&mut self, key: u64, value: u64);