diff --git a/rust-examples/01-hello-world/MODULE.bazel b/rust-examples/01-hello-world/MODULE.bazel
index 53f685c..9c1dccd 100644
--- a/MODULE.bazel
+++ b/MODULE.bazel
@@ -5,6 +5,12 @@ module(

 # https://github.com/bazelbuild/rules_rust/releases
 bazel_dep(name = "rules_rust", version = "0.65.0")
+bazel_dep(name = "rules_cc", version = "0.2.4")
+single_version_override(
+    module_name = "rules_cc",
+    patches = [":rules_cc.patch"],
+    patch_strip = 1,
+)

 # Rust toolchain
 RUST_EDITION = "2021"  # NOTE: 2024 edition will be released with Rust 1.85.0
