summaryrefslogtreecommitdiffstats
path: root/crates/driver/src/driver.rs
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2021-10-30 10:20:29 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2021-11-01 19:01:09 +0100
commitfddeb158b550a938358ee8251741514b362c68b6 (patch)
treec4dfe6f1500dd3ad159c3f45b7e975e5d5b03dd4 /crates/driver/src/driver.rs
parent7a0bf8027b93e7e3f4e6887c0d116f471629cacd (diff)
downloadrebel-fddeb158b550a938358ee8251741514b362c68b6.tar
rebel-fddeb158b550a938358ee8251741514b362c68b6.zip
runner: allow passing a map of pins with a task submission
Pins allow to use fixed versions of dependencies. They are stored separately from regular dependency archives.
Diffstat (limited to 'crates/driver/src/driver.rs')
-rw-r--r--crates/driver/src/driver.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/driver/src/driver.rs b/crates/driver/src/driver.rs
index fe69ee0..e3dc407 100644
--- a/crates/driver/src/driver.rs
+++ b/crates/driver/src/driver.rs
@@ -305,6 +305,7 @@ impl<'ctx> Driver<'ctx> {
inherit: inherit_chain,
depends: task_deps,
outputs: task_output,
+ pins: HashMap::new(),
};
Ok(Some(runner.spawn(&task)))