From 6910552698aabbc93576d003ca1376e8cfe0439d Mon Sep 17 00:00:00 2001
From: Niko Matsakis <niko@alum.mit.edu>
Date: Thu, 20 Oct 2011 11:30:08 -0700
Subject: [PATCH] convert str methods to c-stack-cdecl

---
 src/lib/str.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/str.rs b/src/lib/str.rs
index 7a566024422..af401664000 100644
--- a/src/lib/str.rs
+++ b/src/lib/str.rs
@@ -7,7 +7,7 @@ export eq, lteq, hash, is_empty, is_not_empty, is_whitespace, byte_len, index,
        str_from_cstr, sbuf, as_buf, push_byte, utf8_char_width, safe_slice,
        contains;
 
-native "rust" mod rustrt {
+native "c-stack-cdecl" mod rustrt {
     fn rust_str_push(&s: str, ch: u8);
 }