feat(users/Profpatsch/arglib): use exec_helpers for rust

Change-Id: I3056385eb11e45ae13456f4c47052651ba5fb62f
Reviewed-on: https://cl.tvl.fyi/c/depot/+/2496
Tested-by: BuildkiteCI
Reviewed-by: Profpatsch <mail@profpatsch.de>
This commit is contained in:
Profpatsch 2021-02-08 03:23:53 +01:00
parent 9fe1db6193
commit 60b79b2d9d
3 changed files with 11 additions and 9 deletions

View file

@ -37,7 +37,7 @@ fn netencode_to_mustache_data_dwim(t: T) -> Data {
pub fn from_stdin() -> () {
let data = netencode_to_mustache_data_dwim(
arglib_netencode::arglib_netencode(Some(std::ffi::OsStr::new("TEMPLATE_DATA"))).unwrap()
arglib_netencode::arglib_netencode("netencode-mustache", Some(std::ffi::OsStr::new("TEMPLATE_DATA")))
);
let mut stdin = String::new();
std::io::stdin().read_to_string(&mut stdin).unwrap();