Skip to content

Commit 0ea2c65

Browse files
committed
whoops, wrong path
1 parent 991aab2 commit 0ea2c65

File tree

1 file changed

+1
-1
lines changed
  • onlinejudge_verify/languages

1 file changed

+1
-1
lines changed

onlinejudge_verify/languages/rust.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ def _related_source_files(basedir: pathlib.Path, metadata: Dict[str, Any]) -> Di
175175
if _is_build(target):
176176
dep_info_paths = pathlib.Path(metadata['target_directory'], 'debug', 'build').rglob(f'{_crate_name(target)}-*.d')
177177
elif _is_example(target):
178-
dep_info_paths = pathlib.Path(metadata['target_directory'], 'debug', 'tests').glob(f'{_crate_name(target)}-*.d')
178+
dep_info_paths = pathlib.Path(metadata['target_directory'], 'debug', 'deps').glob(f'{_crate_name(target)}-*.d')
179179
else:
180180
dep_info_paths = pathlib.Path(metadata['target_directory'], 'debug', 'deps').glob(f'{_crate_name(target)}-*.d')
181181
for dep_info_path in sorted(dep_info_paths, key=lambda p: p.stat().st_mtime_ns, reverse=True):

0 commit comments

Comments
 (0)