aboutsummaryrefslogtreecommitdiff
path: root/xtask/src/build.rs
diff options
context:
space:
mode:
authorEmil Fresk <emil.fresk@gmail.com>2023-01-23 20:05:47 +0100
committerHenrik Tjäder <henrik@tjaders.com>2023-03-01 00:33:31 +0100
commit306aa47170fd59369b7a184924e287dc3706d64d (patch)
tree75a331a63a4021f078e330bf2ce4edb1228e2ecf /xtask/src/build.rs
parentb8b881f446a226d6f3c4a7db7c9174590b47dbf6 (diff)
Add rtic-timer (timerqueue + monotonic) and rtic-monotonics (systick-monotonic)
Diffstat (limited to 'xtask/src/build.rs')
-rw-r--r--xtask/src/build.rs13
1 files changed, 0 insertions, 13 deletions
diff --git a/xtask/src/build.rs b/xtask/src/build.rs
deleted file mode 100644
index 148a9fd..0000000
--- a/xtask/src/build.rs
+++ /dev/null
@@ -1,13 +0,0 @@
-use std::{fs, path::Path};
-
-const HEX_BUILD_ROOT: &str = "ci/builds";
-
-/// make sure we're starting with a clean,but existing slate
-pub fn init_build_dir() -> anyhow::Result<()> {
- if Path::new(HEX_BUILD_ROOT).exists() {
- fs::remove_dir_all(HEX_BUILD_ROOT)
- .map_err(|_| anyhow::anyhow!("Could not clear out directory: {}", HEX_BUILD_ROOT))?;
- }
- fs::create_dir_all(HEX_BUILD_ROOT)
- .map_err(|_| anyhow::anyhow!("Could not create directory: {}", HEX_BUILD_ROOT))
-}