Skip to content

1.74.0

Choose a tag to compare

@github-actions github-actions released this 28 Jul 00:01

Add --bare-repl flag

If you want to use irust programmatically , it won't be easy because it skips stdin and reads from tty directly, this is where --bare-repl flag comes in, if you use it irust will listen to stdin, you can send commands in the form of IRUST_INPUT_START$codeIRUST_INPUT_END and you'll receive output as IRUST_OUTPUT_START$outputIRUST_OUTPUT_END, example: IRUST_INPUT_START5+4IRUST_INPUT_END -> IRUST_OUTPUT_START9IRUST_OUTPUT_END.

Check out bare repl test for an example on how to use this.