diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2021-11-16 20:52:34 +0100 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2021-11-16 20:52:34 +0100 |
commit | 1ad4750948ab49900b1b6ff5b455c11ebe7470eb (patch) | |
tree | d72737a8e045dbadb734425d687f2a09f0c7453b /crates/driver/src/driver.rs | |
parent | bd8479a1ebf3862c13909e270ddd6179d9a24591 (diff) | |
download | rebel-1ad4750948ab49900b1b6ff5b455c11ebe7470eb.tar rebel-1ad4750948ab49900b1b6ff5b455c11ebe7470eb.zip |
driver: pass set of tasks to force-run to driver instance
Diffstat (limited to 'crates/driver/src/driver.rs')
-rw-r--r-- | crates/driver/src/driver.rs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/crates/driver/src/driver.rs b/crates/driver/src/driver.rs index ebbdb36..43820a2 100644 --- a/crates/driver/src/driver.rs +++ b/crates/driver/src/driver.rs @@ -155,7 +155,11 @@ pub struct Driver<'ctx> { } impl<'ctx> Driver<'ctx> { - pub fn new(ctx: &'ctx Context, taskset: HashSet<TaskRef<'ctx>>) -> Result<Self> { + pub fn new( + ctx: &'ctx Context, + taskset: HashSet<TaskRef<'ctx>>, + _force_run: HashSet<TaskRef<'ctx>>, + ) -> Result<Self> { let mut driver = Driver { rdeps: Default::default(), tasks_blocked: Default::default(), |