mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-02 09:47:57 +00:00
Compile-time-only functions don't generate code, so instrumenting them for coverage is useless. This also avoids an ICE when trying to get the function's symbol name for an unused-function record, which can occur when instrumenting `core`. Co-Authored-By: Rachel Barker <rachel.barker@ferrous-systems.com>
11 lines
348 B
Plaintext
11 lines
348 B
Plaintext
Function name: comptime::main
|
|
Raw bytes (14): 0x[01, 01, 00, 02, 01, 0b, 01, 00, 0a, 01, 00, 0c, 00, 0d]
|
|
Number of files: 1
|
|
- file 0 => $DIR/comptime.rs
|
|
Number of expressions: 0
|
|
Number of file 0 mappings: 2
|
|
- Code(Counter(0)) at (prev + 11, 1) to (start + 0, 10)
|
|
- Code(Counter(0)) at (prev + 0, 12) to (start + 0, 13)
|
|
Highest counter ID seen: c0
|
|
|