mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 08:13:41 +00:00
25d183057e
Currently `await` is only counted towards coverage if the containing function is suspended and resumed at least once. This is because it expands to code which contains a branch on the discriminant of `Poll`. By treating it like a branching macro (e.g. `assert!`), these implementation details will be hidden from the coverage results.
26 lines
831 B
Plaintext
26 lines
831 B
Plaintext
Function name: await_ready::await_ready
|
|
Raw bytes (9): 0x[01, 01, 00, 01, 01, 0a, 01, 00, 1e]
|
|
Number of files: 1
|
|
- file 0 => global file 1
|
|
Number of expressions: 0
|
|
Number of file 0 mappings: 1
|
|
- Code(Counter(0)) at (prev + 10, 1) to (start + 0, 30)
|
|
|
|
Function name: await_ready::await_ready::{closure#0}
|
|
Raw bytes (14): 0x[01, 01, 00, 02, 01, 0a, 1e, 03, 0f, 05, 04, 01, 00, 02]
|
|
Number of files: 1
|
|
- file 0 => global file 1
|
|
Number of expressions: 0
|
|
Number of file 0 mappings: 2
|
|
- Code(Counter(0)) at (prev + 10, 30) to (start + 3, 15)
|
|
- Code(Counter(1)) at (prev + 4, 1) to (start + 0, 2)
|
|
|
|
Function name: await_ready::main
|
|
Raw bytes (9): 0x[01, 01, 00, 01, 01, 10, 01, 03, 02]
|
|
Number of files: 1
|
|
- file 0 => global file 1
|
|
Number of expressions: 0
|
|
Number of file 0 mappings: 1
|
|
- Code(Counter(0)) at (prev + 16, 1) to (start + 3, 2)
|
|
|