diff options
| author | Ben Bridle <bridle.benjamin@gmail.com> | 2025-02-08 21:15:49 +1300 | 
|---|---|---|
| committer | Ben Bridle <bridle.benjamin@gmail.com> | 2025-02-08 21:15:49 +1300 | 
| commit | 2e773f9ba994f8f4e30bb994bb600696264def16 (patch) | |
| tree | 3a2f607426488b7b88822b805b66fdf45e8f6643 | |
| parent | b7252486c85125192f4ff2a1de61aa3561fa479c (diff) | |
| download | assembler-2e773f9ba994f8f4e30bb994bb600696264def16.zip | |
Fix displayed path when discovering libraries
The path displayed for each discovered library was the path of the
parent directory, not the path of the library file.
| -rw-r--r-- | src/source_unit.rs | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/src/source_unit.rs b/src/source_unit.rs index 5ca5faa..7ee6993 100644 --- a/src/source_unit.rs +++ b/src/source_unit.rs @@ -33,7 +33,7 @@ pub fn gather_from_path(path: &Path, extension: Option<&str>, parse: ParseFn) ->              if let Ok(entries) = traverse_directory(entry.path) {                  for entry in entries {                      if let Ok(unit) = SourceUnit::from_path(&entry.path, extension, parse) { -                        info!("Found source file at {path:?}"); +                        info!("Found source file at {:?}", entry.path);                          source_units.push(unit);                      }                  } | 
