dtolnay / cxx

Safe interop between Rust and C++
https://cxx.rs
Apache License 2.0
5.68k stars 322 forks source link

Include printing of "cargo:rerun-if-changed" in tutorial #1302

Closed dennisschagt closed 6 months ago

dennisschagt commented 6 months ago

I ran into some compilation issues while going through the tutorial step-by-step. Looking at the tutorial files in the repo, I expect this was caused by me missing the cargo:rerun-if-changed lines in the build script (without them, changes to the .cc and .h files did not have any effect). I'm adding those on the tutorial page so other people will be aware of them from the start.