Skip to content

Commit 71fd9f1

Browse files
committed
Fixed
1 parent e879656 commit 71fd9f1

2 files changed

Lines changed: 12 additions & 3 deletions

File tree

.github/workflows/bench.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ jobs:
3535
- name: Compare benchmark vs disabled (example)
3636
run: |
3737
set -e
38-
echo "Running example with disabled mode (no-default-features)"
39-
cargo run --release --example overhead_compare --no-default-features > disabled.txt
40-
echo "Running example with benchmark mode (std+benchmark)"
38+
echo "Running zero_overhead example with disabled mode (no-default-features)"
39+
cargo run --release --example zero_overhead --no-default-features > disabled.txt
40+
echo "Running overhead_compare example with benchmark mode (std+benchmark)"
4141
cargo run --release --example overhead_compare --no-default-features --features "std benchmark" > benchmark.txt
4242
echo "--- disabled.txt" && cat disabled.txt
4343
echo "--- benchmark.txt" && cat benchmark.txt

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,15 @@
1010

1111
## [Unreleased]
1212

13+
### Fixed
14+
- Disabled-path `benchmark!` macro parse error under `collector`-only builds (no `benchmark`): corrected macro expansion to use `$($body)*` in disabled arms.
15+
- Clippy warnings in `src/trace.rs` (`inline_always`, `uninlined_format_args`): replaced with `#[inline]` and inline format args.
16+
17+
### Maintenance
18+
- Bench workflow `.github/workflows/bench.yml`: use `examples/zero_overhead.rs` for the no-default-features run, and keep `overhead_compare` for the enabled run to avoid feature gating conflicts.
19+
- Module order clean-up in `src/lib.rs` to satisfy Code Quality check (place `mod trace;` after `mod timer;`).
20+
- Documentation consistency sweep: ensure install snippets reference `0.7.1` across `docs/` feature pages and API.
21+
1322

1423
<br>
1524

0 commit comments

Comments
 (0)