start to isolate target strings so that they can be configured for
x64 or other targets
This commit is contained in:
parent
eed782c778
commit
5b3bddcd87
8 changed files with 114 additions and 74 deletions
|
@ -7,6 +7,7 @@ import std::{uint, map, option, str};
|
|||
import std::option::{some, none};
|
||||
import syntax::parse::parser::parse_sess;
|
||||
import util::filesearch;
|
||||
import back::target_strs;
|
||||
|
||||
tag os { os_win32; os_macos; os_linux; }
|
||||
|
||||
|
@ -15,6 +16,7 @@ tag arch { arch_x86; arch_x64; arch_arm; }
|
|||
type config =
|
||||
{os: os,
|
||||
arch: arch,
|
||||
target_strs: target_strs::t,
|
||||
int_type: ty_mach,
|
||||
uint_type: ty_mach,
|
||||
float_type: ty_mach};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue