Skip to content

Commit

Permalink
Fix typo in known_limitations.md (#674)
Browse files Browse the repository at this point in the history
Changed
- Is is not possible to benchmark functions in crates that do not provide an `rlib`.
To
- It is not possible to benchmark functions in crates that do not provide an `rlib`.
  • Loading branch information
JaredEipp authored Apr 19, 2023
1 parent a211230 commit 8ab2752
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions book/src/user_guide/known_limitations.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ This results in several limitations:
are compiled as a separate crate, and non-`pub` functions are not visible to the benchmarks.
* It is not possible to benchmark functions in binary crates. Binary crates cannot be dependencies of other
crates, and that includes external tests and benchmarks ([see here](https://github.com/rust-lang/cargo/issues/4316) for more details)
* Is is not possible to benchmark functions in crates that do not provide an `rlib`.
* It is not possible to benchmark functions in crates that do not provide an `rlib`.

Criterion.rs cannot currently solve these issues. An [experimental RFC](https://github.com/rust-lang/rust/issues/50297) is being implemented to enable custom test and benchmarking frameworks.

Expand All @@ -21,4 +21,4 @@ Example:

```toml
criterion = { version = '...', features=['real_blackbox'] }
```
```

0 comments on commit 8ab2752

Please sign in to comment.