Skip to content

Commit 6910552

Browse files
nikomatsakisbrson
authored andcommitted
convert str methods to c-stack-cdecl
1 parent 12ab0d6 commit 6910552

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/str.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export eq, lteq, hash, is_empty, is_not_empty, is_whitespace, byte_len, index,
77
str_from_cstr, sbuf, as_buf, push_byte, utf8_char_width, safe_slice,
88
contains;
99

10-
native "rust" mod rustrt {
10+
native "c-stack-cdecl" mod rustrt {
1111
fn rust_str_push(&s: str, ch: u8);
1212
}
1313

0 commit comments

Comments
 (0)