aboutsummaryrefslogtreecommitdiff
path: root/src/lib/sys.rs
diff options
context:
space:
mode:
authorGraydon Hoare <[email protected]>2010-09-22 15:44:13 -0700
committerGraydon Hoare <[email protected]>2010-09-22 15:44:13 -0700
commit2880ecd73ff7443ad72eb7af3c85e673024fc7fd (patch)
treeb9e703a5e279db41fa36bdbe9674abe8f159e91c /src/lib/sys.rs
parentMove llvm-using code in rustc to trans module. (diff)
downloadrust-2880ecd73ff7443ad72eb7af3c85e673024fc7fd.tar.xz
rust-2880ecd73ff7443ad72eb7af3c85e673024fc7fd.zip
Reformat standard library; no code changes.
Diffstat (limited to 'src/lib/sys.rs')
-rw-r--r--src/lib/sys.rs36
1 files changed, 22 insertions, 14 deletions
diff --git a/src/lib/sys.rs b/src/lib/sys.rs
index 18e2d326..90e5cc49 100644
--- a/src/lib/sys.rs
+++ b/src/lib/sys.rs
@@ -2,21 +2,29 @@ export rustrt;
native "rust" mod rustrt {
- // Explicitly re-export native stuff we want to be made
- // available outside this crate. Otherwise it's
- // visible-in-crate, but not re-exported.
+ // Explicitly re-export native stuff we want to be made
+ // available outside this crate. Otherwise it's
+ // visible-in-crate, but not re-exported.
- export last_os_error;
- export size_of;
- export align_of;
- export refcount;
- export gc;
+ export last_os_error;
+ export size_of;
+ export align_of;
+ export refcount;
+ export gc;
- fn last_os_error() -> str;
- fn size_of[T]() -> uint;
- fn align_of[T]() -> uint;
- fn refcount[T](@T t) -> uint;
- fn gc();
- fn unsupervise();
+ fn last_os_error() -> str;
+ fn size_of[T]() -> uint;
+ fn align_of[T]() -> uint;
+ fn refcount[T](@T t) -> uint;
+ fn gc();
+ fn unsupervise();
}
+// 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: