diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2024-04-05 21:33:58 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2024-04-05 21:33:58 +0200 |
commit | ce1f8acf6ae86d3a09c097f41e2173a7c5ee36e1 (patch) | |
tree | cb6834618e55d65a05d25970e306eb8e84f0884b /crates | |
parent | 4e98b52ea75d5a91f88e47089ae5e279ffa1c140 (diff) | |
download | rebel-ce1f8acf6ae86d3a09c097f41e2173a7c5ee36e1.tar rebel-ce1f8acf6ae86d3a09c097f41e2173a7c5ee36e1.zip |
runner: task: do not pass INPUT_HASH in task environment
There is nothing useful that a task could do with the input hash that
doesn't reduce reproducibility.
Diffstat (limited to 'crates')
-rw-r--r-- | crates/runner/src/task.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/crates/runner/src/task.rs b/crates/runner/src/task.rs index b716b82..7bf1fda 100644 --- a/crates/runner/src/task.rs +++ b/crates/runner/src/task.rs @@ -452,7 +452,6 @@ fn run_task(input_hash: &InputHash, task: &Task, jobserver: &mut Jobserver) -> R .env_clear() .env("PATH", "/usr/sbin:/usr/bin:/sbin:/bin") .env("HOME", "/build") - .env("INPUT_HASH", input_hash.to_string()) .env("MAKEFLAGS", jobserver.to_makeflags()) .exec(); eprintln!("{}", err); |