1 2 3 4 5 6 7 8 9 10 11 12 13
use crate::spec::{RelroLevel, TargetOptions}; pub fn opts() -> TargetOptions { TargetOptions { dynamic_linking: true, executables: true, has_rpath: false, target_family: Some("unix".to_string()), relro_level: RelroLevel::Full, linker_is_gnu: true, ..Default::default() } }