aboutsummaryrefslogtreecommitdiff
path: root/src/lib/linux_os.rs
diff options
context:
space:
mode:
authorPatrick Walton <[email protected]>2010-10-22 16:15:06 -0700
committerPatrick Walton <[email protected]>2010-10-22 16:16:02 -0700
commit05a3c5c0f3967f676778f477c7f823af6bec6c2f (patch)
tree36ec3e2035726d9dc3e27e4e2d71a995efa397d0 /src/lib/linux_os.rs
parentImplement check-exprs, un-xfail 5 rustc tests. (diff)
downloadrust-05a3c5c0f3967f676778f477c7f823af6bec6c2f.tar.xz
rust-05a3c5c0f3967f676778f477c7f823af6bec6c2f.zip
rustc: Add an "_" prefix to assembler-generated symbols on Mac
Diffstat (limited to 'src/lib/linux_os.rs')
-rw-r--r--src/lib/linux_os.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/linux_os.rs b/src/lib/linux_os.rs
index ce2c0f79..d5ef2a6b 100644
--- a/src/lib/linux_os.rs
+++ b/src/lib/linux_os.rs
@@ -47,6 +47,9 @@ fn exec_suffix() -> str {
ret "";
}
+fn target_os() -> str {
+ ret "linux";
+}
// Local Variables:
// mode: rust;