From 3ece1dfe4f571a37756a637c0a3e03d203bcaacd Mon Sep 17 00:00:00 2001 From: Guillaume Lagrange Date: Thu, 13 Feb 2025 15:54:58 +0100 Subject: [PATCH 1/3] ci: remove deprecated feature from cargo-codspeed release build --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 From d7fb1521217bb4b8b212519f0a256668bf6d8b26 Mon Sep 17 00:00:00 2001 From: Guillaume Lagrange Date: Thu, 13 Feb 2025 15:58:53 +0100 Subject: [PATCH 2/3] chore(divan_compat_examples): remove useless linting exception --- crates/divan_compat/examples/benches/math.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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); From cb639f16ce34cf880410193920484b3664b65045 Mon Sep 17 00:00:00 2001 From: Guillaume Lagrange Date: Fri, 14 Feb 2025 10:09:35 +0100 Subject: [PATCH 3/3] chore(divan_compat): add `bench_group` to unsupported features --- crates/divan_compat/README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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.