feat: add rust-script

This commit is contained in:
2022-08-06 01:14:04 +08:00
parent 70f202e982
commit a65b8f0aae
67 changed files with 5086 additions and 0 deletions

View File

@@ -0,0 +1 @@
/Cargo.lock

View File

@@ -0,0 +1,10 @@
[package]
name = "slow-build"
version = "0.1.0"
authors = ["Daniel Keep <daniel.keep@gmail.com>"]
build = "slow-build-build.rs"
[lib]
name = "slow_build"
path = "slow-build-lib.rs"

View File

@@ -0,0 +1,5 @@
fn main() {
println!("Sleeping for 2 seconds...");
std::thread::sleep(std::time::Duration::from_millis(2000));
println!("Done.");
}