building cargo fuzz the second time this evening and wishing it were a rustup component
1
1
maybe i should give this VM more cores
1
1
fuzzer goes brrrrrrrrrCRASH
2
2
good news, the crashes were in the test harness now it’s going brrrrrrrrrrrrrr but it only has one core to work with so the macbook isn’t getting too toasty
1
4
well the fuzzer found a pretty good bug, took me a while to work out what i had screwed up :-)
1
2
when i do a cleanup commit, the message is usually β€œpreen such-and-such” so i have been preening my fuzz, as it were πŸ˜†
1
1
1
πŸ¦€πŸ€“πŸ‘ΉπŸ’© play.rust-lang.org/?version=…
3
1
ternary conditional expressions in CPL and BCPL use b -> t, f instead of b ? t : f
2
2
damnit i’m typing ?: into my rust again
2
what i actually want is list.get(i-1) instead of writing it out longhand
2
Replying to @fanf
If I knew the shape of what you had and what you wanted, I might be able to make a suggestion.

May 11, 2021 Β· 2:54 PM UTC

1
Replying to @dsilverstone
well i started with something like line 581 except using [] instead of .get(), then i realised everything needed to be Option<>al, so I used bare .get(), then the compiler complained at me for doing 0usize - 1usize so i put one of the if{}else{}s back github.com/fanf2/leapsecs/bl…
1