kevinmehall/rust-peg — pull request #15 by SimonSapin (2014-10-23 07:34:50+00:00)
Title: Make Cargo rebuild when a peg_file! source file is modified.

Have the `peg_file!` macro register the file in the compiler’s codemap. Cargo only looks at the modification date of files in this map to decide whether to rebuild something.

Thanks @tomaka for the tip!