From de963715e1b944cb23d0323aa25a9fa826365d0d Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 14 Feb 2021 19:29:28 +0000 Subject: [PATCH] wdt: UsualSetup, note about why separate Ctx Signed-off-by: Ian Jackson --- wdriver.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wdriver.rs b/wdriver.rs index 44753ea9..5cbed861 100644 --- a/wdriver.rs +++ b/wdriver.rs @@ -1370,6 +1370,8 @@ impl Setup { } } +// Ideally individual test files' Ctx would simply contain this, +// but it would need to be borrowed in pieces which is awkward. pub struct UsualSetup { pub su: Setup, pub inst: Instance, -- 2.30.2