From b34a6fcc8e2a4d4503d90d382c152077e25f4549 Mon Sep 17 00:00:00 2001 From: Soispha Peetz Date: Wed, 25 Nov 2026 18:39:45 +0100 Subject: pkgs/rollup: Document why we assume all paths in the root apply to all targets --- pkgs/by-name/ro/rollup/src/main.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'pkgs/by-name/ro/rollup/src') diff --git a/pkgs/by-name/ro/rollup/src/main.rs b/pkgs/by-name/ro/rollup/src/main.rs index 82521d93..9c1e771f 100644 --- a/pkgs/by-name/ro/rollup/src/main.rs +++ b/pkgs/by-name/ro/rollup/src/main.rs @@ -404,6 +404,9 @@ fn target_is_owning_path( } if root.join(path).parent() == Some(root) { + // The path is in the root directory, so there can be no drop-in to apply. It is trivially + // included. + // TODO: It would maybe be good to re-think this. <2026-11-23> return Ok(true); } -- cgit v1.3.1