Skip to content

Commit

Permalink
Merge pull request #1225 from dtolnay/benchtest
Browse files Browse the repository at this point in the history
Fix instruction for running benchmarks
  • Loading branch information
dtolnay committed Sep 29, 2022
2 parents 91f0141 + b0fcbab commit ce00ab0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion benches/file.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// $ cargo bench --features full --bench file
// $ cargo bench --features full,test --bench file

#![feature(rustc_private, test)]
#![recursion_limit = "1024"]
Expand Down
4 changes: 2 additions & 2 deletions benches/rust.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// $ cargo bench --features full --bench rust
// $ cargo bench --features full,test --bench rust
//
// Syn only, useful for profiling:
// $ RUSTFLAGS='--cfg syn_only' cargo build --release --features full --bench rust
// $ RUSTFLAGS='--cfg syn_only' cargo build --release --features full,test --bench rust

#![cfg_attr(not(syn_only), feature(rustc_private))]
#![recursion_limit = "1024"]
Expand Down

0 comments on commit ce00ab0

Please sign in to comment.