You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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`.
Copy file name to clipboardExpand all lines: book/src/user_guide/known_limitations.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ This results in several limitations:
11
11
are compiled as a separate crate, and non-`pub` functions are not visible to the benchmarks.
12
12
* It is not possible to benchmark functions in binary crates. Binary crates cannot be dependencies of other
13
13
crates, and that includes external tests and benchmarks ([see here](https://github.com/rust-lang/cargo/issues/4316) for more details)
14
-
*Is is not possible to benchmark functions in crates that do not provide an `rlib`.
14
+
*It is not possible to benchmark functions in crates that do not provide an `rlib`.
15
15
16
16
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.
17
17
@@ -21,4 +21,4 @@ Example:
21
21
22
22
```toml
23
23
criterion = { version = '...', features=['real_blackbox'] }
0 commit comments