about summary refs log tree commit diff
path: root/src/comp
diff options
context:
space:
mode:
authorGraydon Hoare <graydon@mozilla.com>2010-08-18 11:34:47 -0700
committerGraydon Hoare <graydon@mozilla.com>2010-08-18 11:34:47 -0700
commit49f668dff306ae76ad83f2f82c032940f723b26c (patch)
tree9bed7ca54c5f255fa4ab714e8fe9e5f7d85b9141 /src/comp
parentb5ad78f3161d2aeb5e3547f19d14447f34d422db (diff)
downloadrust-49f668dff306ae76ad83f2f82c032940f723b26c.tar.gz
rust-49f668dff306ae76ad83f2f82c032940f723b26c.zip
Add mod common to rustc.
Diffstat (limited to 'src/comp')
-rw-r--r--src/comp/rustc.rc4
-rw-r--r--src/comp/util/common.rs15
2 files changed, 19 insertions, 0 deletions
diff --git a/src/comp/rustc.rc b/src/comp/rustc.rc
index 75f893c96aa..70eb35d197d 100644
--- a/src/comp/rustc.rc
+++ b/src/comp/rustc.rc
@@ -13,6 +13,10 @@ mod driver {
     mod rustc;
 }
 
+mod util {
+    mod common;
+}
+
 auth driver = unsafe;
 
 mod lib {
diff --git a/src/comp/util/common.rs b/src/comp/util/common.rs
new file mode 100644
index 00000000000..b36f244db2d
--- /dev/null
+++ b/src/comp/util/common.rs
@@ -0,0 +1,15 @@
+
+type ty_mach = tag( ty_i8(), ty_i16(), ty_i32(), ty_i64(),
+                    ty_u8(), ty_u16(), ty_u32(), ty_u64(),
+                    ty_f32(), ty_f16() );
+
+//
+// Local Variables:
+// mode: rust
+// fill-column: 78;
+// indent-tabs-mode: nil
+// c-basic-offset: 4
+// buffer-file-coding-system: utf-8-unix
+// compile-command: "make -k -C ../.. 2>&1 | sed -e 's/\\/x\\//x:\\//g'";
+// End:
+//