aboutsummaryrefslogtreecommitdiff
path: root/src/makefile/input.rs
diff options
context:
space:
mode:
authorMelody Horn <melody@boringcactus.com>2021-04-04 12:01:03 -0600
committerMelody Horn <melody@boringcactus.com>2021-04-04 12:01:03 -0600
commit68db8d315e3ef67c608cb2eddca16fd5e5fddccb (patch)
tree93173d0093cc51b3387297dd178068918cc1c569 /src/makefile/input.rs
parent6a8a04c0762e9d0c1ee357973486015a2522672d (diff)
downloadmakers-68db8d315e3ef67c608cb2eddca16fd5e5fddccb.tar.gz
makers-68db8d315e3ef67c608cb2eddca16fd5e5fddccb.zip
logging!
Diffstat (limited to 'src/makefile/input.rs')
-rw-r--r--src/makefile/input.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/makefile/input.rs b/src/makefile/input.rs
index d6f6254..6ee5392 100644
--- a/src/makefile/input.rs
+++ b/src/makefile/input.rs
@@ -413,6 +413,11 @@ impl<'a, 'parent, R: BufRead> MakefileReader<'a, 'parent, R> {
inference_match.name("s2").unwrap().as_str().to_owned(),
commands,
);
+ log::trace!(
+ "suffix-based inference rule defined by {:?} - {:?}",
+ &inference_match,
+ &new_rule,
+ );
self.inference_rules.retain(|existing_rule| {
(&existing_rule.prerequisites, &existing_rule.products)