rustc-ap-rustc_target 363.0.0

Automatically published version of the package `rustc_target` in the rust-lang/rust repository from commit ec7ecb3076260256ae7e43f6991ecc1566c73708 The publishing script for this crate lives at: https://github.com/alexcrichton/rustc-auto-publish
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use spec::{TargetOptions, RelroLevel};
use std::default::Default;

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()
    }
}