Right now the files generated by rustc -Zself-profile
don't contain any indication of what their concrete encoding is. That should change so that post-processing tools support more than one version or at least give a sensible error message when encountering an unsupported encoding.
For example, each file could start with a some file magic (b"MMES"
for the event stream, b"MMSD"
for the string table data, and b"MMSI"
for the string table index) and a 4 byte little-endian version number that can be used to select the right decoder.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4