Closed
Description
rusti
0.8-pre has this program.
$ rust -v
rust 0.8-pre (04fac7f 2013-08-31 15:15:40 -0700)
host: x86_64-unknown-linux-gnu
$ rusti
WARNING: The Rust REPL is experimental and may be
unstable. If you encounter problems, please use the
compiler instead. Type :help for help.
rusti> let a = 123; // 日本語
zsh: segmentation fault (core dumped) rusti
$ rusti
WARNING: The Rust REPL is experimental and may be
unstable. If you encounter problems, please use the
compiler instead. Type :help for help.
rusti> let a = 123; // 中华
zsh: segmentation fault (core dumped) rusti
$ rusti
WARNING: The Rust REPL is experimental and may be
unstable. If you encounter problems, please use the
compiler instead. Type :help for help.
rusti> let a = 123; // Việt Nam
zsh: segmentation fault (core dumped) rusti
If the lines with non-ascii comments contain syntax error and the next line without errors nor comments, rusti causes seg faults.
$ rusti
WARNING: The Rust REPL is experimental and may be
unstable. If you encounter problems, please use the
compiler instead. Type :help for help.
rusti> lest a = 123; // 日本語
<anon>:2:6: 2:7 error: expected one of `; }` but found `a`
<anon>:2 lest a = 123; // 日本語
^
task <unnamed> failed at 'explicit failure', /home/nksm/pkg/rust/src/rust/src/libsyntax/diagnostic.rs:69
rusti> let a = 123;
zsh: segmentation fault (core dumped) rusti
rusti
0.7 doesn't have this problem.
$ rust -v
rust 0.7
host: x86_64-unknown-linux-gnu
$ rusti
WARNING: The Rust REPL is experimental and may be
unstable. If you encounter problems, please use the
compiler instead. Type :help for help.
rusti> let a = 123; // 中华
rusti> let a = 123; // 日本語
rusti> let a = 123; // Việt Nam
rusti>
Metadata
Metadata
Assignees
Labels
No labels