rustc_llvm

Function LLVMRustStringWriteImpl

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn LLVMRustStringWriteImpl(
    buf: &RustString,
    slice_ptr: *const u8,
    slice_len: size_t,
)
Expand description

Appends the contents of a byte slice to a RustString.

This function is implemented in rustc_llvm so that the C++ code in this crate can link to it directly, without an implied link-time dependency on rustc_codegen_llvm.