This changes the indexing syntax from .() to [], the vector syntax from ~[] to [] and the extension syntax from #fmt() to #fmt[]
9 lines
201 B
Rust
9 lines
201 B
Rust
|
|
|
|
|
|
// -*- rust -*-
|
|
fn main() {
|
|
libc.puts(rustrt.str_buf("hello, native world 1"));
|
|
libc.puts(rustrt.str_buf("hello, native world 2"));
|
|
libc.puts(rustrt.str_buf("hello, native world 3"));
|
|
}
|