rustlantis
rustlantis copied to clipboard
Support for dumping variables using 'printf' for testing scenarios where std is not avalible.
I was interested in using this project to detect bugs in my experimental codegen backend. I don't have support for Rust formatting yet, so I tried to get rustlantis to work without using the standard Rust lib.
This pull request adds the ability to dump variables using printf instead of the standard Rust formatter, when the --printf_debug option is specified.
A question: Is there an upper bound on tuple element count? If so, what is it?
Have to say I'm flattered that my code is readable enough for someone else to work on it 😛
A question: Is there an upper bound on tuple element count? If so, what is it?
12: https://doc.rust-lang.org/std/primitive.tuple.html#trait-implementations-1