From 058a42d9da4fd4d5c7228f5412fb4969cc173097 Mon Sep 17 00:00:00 2001 From: eupn Date: Sun, 5 Mar 2023 13:59:50 +0400 Subject: [PATCH] xtask: put LAST_LANG at the target root and omit dir creation --- xtask/src/utils.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/xtask/src/utils.rs b/xtask/src/utils.rs index 8b19d841b..a2e12d740 100644 --- a/xtask/src/utils.rs +++ b/xtask/src/utils.rs @@ -399,8 +399,7 @@ pub(crate) fn whycheproof_import() -> Result<(), crate::DynError> { } pub(crate) fn track_language_changes(last_lang: &str) -> Result<(), crate::DynError> { - let last_config = format!("target/{}/LAST_LANG", TARGET_TRIPLE_RISCV32); - std::fs::create_dir_all(format!("target/{}/", TARGET_TRIPLE_RISCV32)).unwrap(); + let last_config = "target/LAST_LANG"; let mut contents = String::new(); let changed = match OpenOptions::new()