mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-10 02:56:52 +00:00
convert str methods to c-stack-cdecl
This commit is contained in:
parent
12ab0d66f5
commit
6910552698
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user