Correctly mark parameter RustMappingRegions
as pointer-to-const
The regions don't need to be mutable because we pass a copy of them to LLVM instead, and this matches the `*const` in the Rust-side signature.
This commit is contained in:
parent
7cab196e7c
commit
9addf0651c
1 changed files with 1 additions and 1 deletions
|
@ -121,7 +121,7 @@ extern "C" void LLVMRustCoverageWriteMappingToBuffer(
|
||||||
unsigned NumVirtualFileMappingIDs,
|
unsigned NumVirtualFileMappingIDs,
|
||||||
const LLVMRustCounterExpression *RustExpressions,
|
const LLVMRustCounterExpression *RustExpressions,
|
||||||
unsigned NumExpressions,
|
unsigned NumExpressions,
|
||||||
LLVMRustCounterMappingRegion *RustMappingRegions,
|
const LLVMRustCounterMappingRegion *RustMappingRegions,
|
||||||
unsigned NumMappingRegions,
|
unsigned NumMappingRegions,
|
||||||
RustStringRef BufferOut) {
|
RustStringRef BufferOut) {
|
||||||
// Convert from FFI representation to LLVM representation.
|
// Convert from FFI representation to LLVM representation.
|
||||||
|
|
Loading…
Add table
Reference in a new issue