coverage: Don't convert symbol names to CString
for FFI
This commit is contained in:
parent
e184118683
commit
4b154bc8e2
3 changed files with 18 additions and 7 deletions
|
@ -1720,7 +1720,11 @@ extern "C" {
|
|||
BufferOut: &RustString,
|
||||
);
|
||||
|
||||
pub fn LLVMRustCoverageCreatePGOFuncNameVar(F: &Value, FuncName: *const c_char) -> &Value;
|
||||
pub fn LLVMRustCoverageCreatePGOFuncNameVar(
|
||||
F: &Value,
|
||||
FuncName: *const c_char,
|
||||
FuncNameLen: size_t,
|
||||
) -> &Value;
|
||||
pub fn LLVMRustCoverageHashByteArray(Bytes: *const c_char, NumBytes: size_t) -> u64;
|
||||
|
||||
#[allow(improper_ctypes)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue