Skip to main content

Module owned_target_machine

Module owned_target_machine 

Source

Re-exportsยง

use std::ffi::CStr; ๐Ÿ”’
use std::ptr::NonNull; ๐Ÿ”’
use rustc_data_structures::small_c_str::SmallCStr; ๐Ÿ”’
use crate::diagnostics::LlvmError; ๐Ÿ”’
use crate::llvm; ๐Ÿ”’

Structsยง

OwnedTargetMachine
Responsible for safely creating and disposing llvm::TargetMachine via ffi functions. Not cloneable as there is no clone function for llvm::TargetMachine.