1 // Copyright 2012 The Rust Project Developers. See the COPYRIGHT
2 // file at the top-level directory of this distribution and at
3 // http://rust-lang.org/COPYRIGHT.
4 //
5 // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6 // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7 // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8 // option. This file may not be copied, modified, or distributed
9 // except according to those terms.
10
11 #![allow(non_camel_case_types)]
12
13 pub struct t {
14 pub module_asm: ~str,
15 pub meta_sect_name: ~str,
16 pub data_layout: ~str,
17 pub target_triple: ~str,
18 pub cc_args: Vec<~str> ,
19 }
librustc/back/target_strs.rs:12:1-12:1 -struct- definition:
pub struct t {
pub module_asm: ~str,
pub meta_sect_name: ~str,
references:- 9librustc/back/x86.rs:
17: pub fn get_target_strs(target_triple: ~str, target_os: abi::Os) -> target_strs::t {
18: return target_strs::t {
19: module_asm: "".to_owned(),
librustc/back/x86_64.rs:
17: pub fn get_target_strs(target_triple: ~str, target_os: abi::Os) -> target_strs::t {
18: return target_strs::t {
19: module_asm: "".to_owned(),
librustc/back/arm.rs:
21: };
22: return target_strs::t {
23: module_asm: "".to_owned(),
librustc/back/x86.rs:
17: pub fn get_target_strs(target_triple: ~str, target_os: abi::Os) -> target_strs::t {
18: return target_strs::t {
librustc/back/x86_64.rs:
17: pub fn get_target_strs(target_triple: ~str, target_os: abi::Os) -> target_strs::t {
18: return target_strs::t {
librustc/driver/session.rs:
34: pub arch: abi::Architecture,
35: pub target_strs: target_strs::t,
36: pub int_type: IntTy,
librustc/back/arm.rs:
16: pub fn get_target_strs(target_triple: ~str, target_os: abi::Os) -> target_strs::t {
17: let cc_args = if target_triple.contains("thumb") {
librustc/back/mips.rs:
16: pub fn get_target_strs(target_triple: ~str, target_os: abi::Os) -> target_strs::t {
17: return target_strs::t {
18: module_asm: "".to_owned(),