From 9522ce85fc1b0831d73da186a50d29d72ff6ad6c Mon Sep 17 00:00:00 2001 From: Eric Liu Date: Tue, 5 May 2026 20:37:47 -0700 Subject: [PATCH] Add cacheable library target --- src/lib.rs | 3 +++ src/main.rs | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 src/lib.rs diff --git a/src/lib.rs b/src/lib.rs new file mode 100644 index 0000000..2839ea7 --- /dev/null +++ b/src/lib.rs @@ -0,0 +1,3 @@ +pub fn message() -> &'static str { + "Hello, world! (sccache lib verification)" +} diff --git a/src/main.rs b/src/main.rs index 15af1dc..d1b4d14 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,3 +1,3 @@ fn main() { - println!("Hello, world! (cache test v3)"); + println!("{}", rust_hello_world::message()); }