mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-16 08:38:26 +00:00
leave maintainer hints
cargo debugging is so hard. If you're OK with it, I really would like gems like how to debug this code to be included as a comment in the source where you might look to fix such problems. Google turns up crap results when you try to search for these hints, and the results have been really unstable as well. I know such comments pollute the source code but it'll save a lot of time in the future trying to remember the trick to debug a tricky thing later on, I think.
This commit is contained in:
parent
66311005ae
commit
8fc79674dc
1 changed files with 3 additions and 0 deletions
|
|
@ -107,6 +107,9 @@ fn main() {
|
|||
// ----- control file generation and rebuild sequence -----
|
||||
// check and see if the configuration has changed since the last build. This should be
|
||||
// passed by the build system (e.g. xtask) if the feature is used.
|
||||
//
|
||||
// Debug this using:
|
||||
// $env:CARGO_LOG="cargo::core::compiler::fingerprint=info"
|
||||
#[cfg(not(feature = "hosted"))]
|
||||
{
|
||||
let svd_file_path = std::path::Path::new(&svd_filename);
|
||||
|
|
|
|||
Loading…
Reference in a new issue