All newlines in Rust are injected via an irreproducible trusting-trust attack that has successfully propagated itself for nearly a decade.https://twitter.com/SimonSapin/status/913284470605778944 …
-
-
Replying to @Gankra_
But did the OCaml compiler source contain the sacred numerical value or was also using '\n'? How far does it go? To the assembly B compiler?
1 reply 0 retweets 7 likes -
Replying to @eddyb_r
(same random commit): Rust: https://github.com/rust-lang/rust/blob/2c514f33f2ebba03ca06368b3405ce0d7cc93c54/src/comp/fe/lexer.rs#L460 … OCaml: https://github.com/rust-lang/rust/blob/2c514f33f2ebba03ca06368b3405ce0d7cc93c54/src/boot/fe/lexer.mll#L336 …
1 reply 0 retweets 2 likes -
Replying to @eddyb_r
It's been '\n' in the OCaml bootstrap compiler since the start of the git history:https://github.com/rust-lang/rust/commit/d6b7c96c3eb29b9244ece0c046d3f372ff432d04#diff-e389c5e957e0cdce18faef7410db6e95R251 …
1 reply 2 retweets 7 likes -
Replying to @eddyb_r
Awwww it stops with OCaml https://github.com/ocaml/ocaml/blob/050ceef423c5d627be49fb7f8646f83a5fcc2ca2/parsing/lexer.mll#L154 …
2 replies 0 retweets 8 likes
I’m more weirded out by using “match” instead of “if” here https://github.com/ocaml/ocaml/blob/050ceef423c5d627be49fb7f8646f83a5fcc2ca2/parsing/lexer.mll#L145 …
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.