| Add the differential test runner, and a lowering to measure with it | 1 | // DESIGN.md open question 4: Rust `char` is a Unicode scalar, mapped to Nim's |
| 2 | // `Rune`. This checks the round trip, including a non-ASCII scalar. | |
| 3 | fn main() { | |
| 4 | let a: char = 'a'; | |
| 5 | let z: char = 'ζ'; | |
| 6 | println!("{} {}", a, z); | |
| 7 | println!("{:?} {:?}", a, z); | |
| 8 | println!("{} {}", a as u32, z as u32); | |
| 9 | println!("{}", 955u32 as u8); | |
| 10 | } |