coverage: Don't convert filenames to CString for FFI

This commit is contained in:
Zalathar 2023-07-24 17:27:29 +10:00
parent 474709a9a2
commit e184118683
4 changed files with 34 additions and 19 deletions

View file

@ -1704,6 +1704,8 @@ extern "C" {
pub fn LLVMRustCoverageWriteFilenamesSectionToBuffer(
Filenames: *const *const c_char,
FilenamesLen: size_t,
Lengths: *const size_t,
LengthsLen: size_t,
BufferOut: &RustString,
);