Function rustc_llvm::ffi::LLVMRustCreateMemoryBufferWithContentsOfFile
[−]
[src]
pub unsafe extern fn LLVMRustCreateMemoryBufferWithContentsOfFile(Path: *const c_char)
-> MemoryBufferRef
🔬 This is a nightly-only experimental API. (
rustc_private
)Reads the given file and returns it as a memory buffer. Use LLVMDisposeMemoryBuffer() to get rid of it.