News for hackers. Stuff that matters.
Re:Four years with Rust by belovedeagle on Wednesday December 21, 2016 @03:04PM (#13232164)
A single tmux window, with vim on the left (with no special IDE plugins). On the right, autocall.zsh watches ./src and runs 'cargo build' whenever a file changes. (More specifically, I autocall running in a small pane up top and have it run cargo build piped through less [but you need to fake this as a tty to get cargo to output colors] in a specific, larger pane on the bottom.
Re:Four years with Rust by jonathonf on Thursday December 22, 2016 @04:17PM (#13240470)
> get cargo to output colors

cargo build --color=always

Re:Four years with Rust by belovedeagle on Thursday December 22, 2016 @04:40PM (#13240622)
It might be fixed now but when I set it up either that didn't exist or even that couldn't convince cargo to output color control chars to a non-tty pipe.
Re:Four years with Rust by jonathonf on Thursday December 22, 2016 @05:35PM (#13241001)
Fair enough. I just know that it worked with tup, for whatever reason I was playing with that instead of just entr+cargo:

ls src/*.rs | entr -c cargo build

(entr is pretty awesome :)