summaryrefslogtreecommitdiffstats
path: root/vendor/wait-timeout/src/bin/sleep.rs
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/wait-timeout/src/bin/sleep.rs')
-rw-r--r--vendor/wait-timeout/src/bin/sleep.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/vendor/wait-timeout/src/bin/sleep.rs b/vendor/wait-timeout/src/bin/sleep.rs
new file mode 100644
index 000000000..48dabdc02
--- /dev/null
+++ b/vendor/wait-timeout/src/bin/sleep.rs
@@ -0,0 +1,4 @@
+fn main() {
+ let amt = std::env::args().nth(1).unwrap().parse().unwrap();
+ std::thread::sleep(std::time::Duration::from_millis(amt));
+}