Enable matcha to build opentitantool

Change-Id: I4a708e36c59275cf7eefccbd6da4cbd22a7a6fc6
diff --git a/python-requirements.txt b/python-requirements.txt
index ab993dd..6ca4faf 100644
--- a/python-requirements.txt
+++ b/python-requirements.txt
@@ -55,3 +55,6 @@
 
 # Dependencies: @matcha//util/image_to_c.py
 Pillow == 9.3.0
+
+# Dependencies: @matcha//util/run_live_cam.py
+pyserial == 3.5
diff --git a/sw/host/opentitantool/src/command/version.rs b/sw/host/opentitantool/src/command/version.rs
index 5fe31ba..80b007f 100644
--- a/sw/host/opentitantool/src/command/version.rs
+++ b/sw/host/opentitantool/src/command/version.rs
@@ -19,15 +19,17 @@
 ///
 /// At runtime, this string is parsed into key/value pairs, which are returned.  (It would have
 /// been desirable to perform the parsing at compile time as well.)
-fn get_volatile_status() -> BTreeMap<&'static str, &'static str> {
-    let volatile_status = include_str!("../../../../../bazel-out/volatile-status.txt");
-    let re = Regex::new(r"([A-Z_]+) ([^\n]+)\n").unwrap();
-    let mut properties: BTreeMap<&'static str, &'static str> = BTreeMap::new();
-    for cap in re.captures_iter(volatile_status) {
-        properties.insert(cap.get(1).unwrap().as_str(), cap.get(2).unwrap().as_str());
-    }
-    properties
-}
+/// TODO(ykwang): The include path has to be prefixed with "../../" when setup opentitan as
+/// external repo.
+///fn get_volatile_status() -> BTreeMap<&'static str, &'static str> {
+///    let volatile_status = include_str!("../../../../../bazel-out/volatile-status.txt");
+///    let re = Regex::new(r"([A-Z_]+) ([^\n]+)\n").unwrap();
+///    let mut properties: BTreeMap<&'static str, &'static str> = BTreeMap::new();
+///    for cap in re.captures_iter(volatile_status) {
+///        properties.insert(cap.get(1).unwrap().as_str(), cap.get(2).unwrap().as_str());
+///    }
+///    properties
+///}
 
 #[derive(Debug, StructOpt)]
 pub struct Version {}
@@ -38,6 +40,8 @@
     clean: bool,
     timestamp: i64,
 }
+#[derive(Debug, serde::Serialize)]
+pub struct DummyResponse {}
 
 impl CommandDispatch for Version {
     fn run(
@@ -45,12 +49,13 @@
         _context: &dyn Any,
         _transport: &TransportWrapper,
     ) -> Result<Option<Box<dyn Serialize>>> {
-        let properties = get_volatile_status();
-        Ok(Some(Box::new(VersionResponse {
-            version: properties.get("BUILD_GIT_VERSION").unwrap().to_string(),
-            revision: properties.get("BUILD_SCM_REVISION").unwrap().to_string(),
-            clean: *properties.get("BUILD_SCM_STATUS").unwrap() == "clean",
-            timestamp: properties.get("BUILD_TIMESTAMP").unwrap().parse::<i64>()?,
-        })))
+        //let properties = get_volatile_status();
+        //Ok(Some(Box::new(VersionResponse {
+        //    version: properties.get("BUILD_GIT_VERSION").unwrap().to_string(),
+        //    revision: properties.get("BUILD_SCM_REVISION").unwrap().to_string(),
+        //    clean: *properties.get("BUILD_SCM_STATUS").unwrap() == "clean",
+        //    timestamp: properties.get("BUILD_TIMESTAMP").unwrap().parse::<i64>()?,
+        //})))
+        Ok(Some(Box::new(DummyResponse {})))
     }
 }
diff --git a/third_party/rust/crates/Cargo.toml b/third_party/rust/crates/Cargo.toml
index e805a77..d303649 100644
--- a/third_party/rust/crates/Cargo.toml
+++ b/third_party/rust/crates/Cargo.toml
@@ -66,6 +66,6 @@
 [package.metadata.raze.crates.libudev-sys.'0.1.4']
 gen_buildrs = true
 patches = [
-    "@//third_party/rust/crates/patches:libudev-sys-0.1.4.patch"
+    "@lowrisc_opentitan//third_party/rust/crates/patches:libudev-sys-0.1.4.patch"
 ]
 patch_args = ["-p1"]
diff --git a/third_party/rust/crates/crates.bzl b/third_party/rust/crates/crates.bzl
index f6815bb..c206f8f 100644
--- a/third_party/rust/crates/crates.bzl
+++ b/third_party/rust/crates/crates.bzl
@@ -214,7 +214,7 @@
         type = "tar.gz",
         sha256 = "d0e9889e6db118d49d88d84728d0e964d973a5680befb5f85f55141beea5c20b",
         strip_prefix = "CoreFoundation-sys-0.1.4",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.CoreFoundation-sys-0.1.4.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.CoreFoundation-sys-0.1.4.bazel"),
     )
 
     maybe(
@@ -224,7 +224,7 @@
         type = "tar.gz",
         sha256 = "99696c398cbaf669d2368076bdb3d627fb0ce51a26899d7c61228c5c0af3bf4a",
         strip_prefix = "IOKit-sys-0.1.5",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.IOKit-sys-0.1.5.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.IOKit-sys-0.1.5.bazel"),
     )
 
     maybe(
@@ -234,7 +234,7 @@
         type = "tar.gz",
         sha256 = "b9ecd88a8c8378ca913a680cd98f0f13ac67383d35993f86c90a70e3f137816b",
         strip_prefix = "addr2line-0.17.0",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.addr2line-0.17.0.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.addr2line-0.17.0.bazel"),
     )
 
     maybe(
@@ -244,7 +244,7 @@
         type = "tar.gz",
         sha256 = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe",
         strip_prefix = "adler-1.0.2",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.adler-1.0.2.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.adler-1.0.2.bazel"),
     )
 
     maybe(
@@ -254,7 +254,7 @@
         type = "tar.gz",
         sha256 = "1e37cfd5e7657ada45f742d6e99ca5788580b5c529dc78faf11ece6dc702656f",
         strip_prefix = "aho-corasick-0.7.18",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.aho-corasick-0.7.18.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.aho-corasick-0.7.18.bazel"),
     )
 
     maybe(
@@ -264,7 +264,7 @@
         type = "tar.gz",
         sha256 = "d52a9bb7ec0cf484c551830a7ce27bd20d67eac647e1befb56b0be4ee39a55d2",
         strip_prefix = "ansi_term-0.12.1",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.ansi_term-0.12.1.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.ansi_term-0.12.1.bazel"),
     )
 
     maybe(
@@ -274,7 +274,7 @@
         type = "tar.gz",
         sha256 = "bb07d2053ccdbe10e2af2995a2f116c1330396493dc1269f6a91d0ae82e19704",
         strip_prefix = "anyhow-1.0.58",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.anyhow-1.0.58.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.anyhow-1.0.58.bazel"),
     )
 
     maybe(
@@ -284,7 +284,7 @@
         type = "tar.gz",
         sha256 = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8",
         strip_prefix = "atty-0.2.14",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.atty-0.2.14.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.atty-0.2.14.bazel"),
     )
 
     maybe(
@@ -294,7 +294,7 @@
         type = "tar.gz",
         sha256 = "0dde43e75fd43e8a1bf86103336bc699aa8d17ad1be60c76c0bdfd4828e19b78",
         strip_prefix = "autocfg-0.1.8",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.autocfg-0.1.8.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.autocfg-0.1.8.bazel"),
     )
 
     maybe(
@@ -304,7 +304,7 @@
         type = "tar.gz",
         sha256 = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa",
         strip_prefix = "autocfg-1.1.0",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.autocfg-1.1.0.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.autocfg-1.1.0.bazel"),
     )
 
     maybe(
@@ -314,7 +314,7 @@
         type = "tar.gz",
         sha256 = "cab84319d616cfb654d03394f38ab7e6f0919e181b1b57e1fd15e7fb4077d9a7",
         strip_prefix = "backtrace-0.3.66",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.backtrace-0.3.66.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.backtrace-0.3.66.bazel"),
     )
 
     maybe(
@@ -324,7 +324,7 @@
         type = "tar.gz",
         sha256 = "e6b4d9b1225d28d360ec6a231d65af1fd99a2a095154c8040689617290569c5c",
         strip_prefix = "base64ct-1.1.1",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.base64ct-1.1.1.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.base64ct-1.1.1.bazel"),
     )
 
     maybe(
@@ -334,7 +334,7 @@
         type = "tar.gz",
         sha256 = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a",
         strip_prefix = "bitflags-1.3.2",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.bitflags-1.3.2.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.bitflags-1.3.2.bazel"),
     )
 
     maybe(
@@ -344,7 +344,7 @@
         type = "tar.gz",
         sha256 = "0bf7fe51849ea569fd452f37822f606a5cabb684dc918707a0193fd4664ff324",
         strip_prefix = "block-buffer-0.10.2",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.block-buffer-0.10.2.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.block-buffer-0.10.2.bazel"),
     )
 
     maybe(
@@ -354,7 +354,7 @@
         type = "tar.gz",
         sha256 = "14c189c53d098945499cdfa7ecc63567cf3886b3332b312a5b4585d8d3a6a610",
         strip_prefix = "byteorder-1.4.3",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.byteorder-1.4.3.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.byteorder-1.4.3.bazel"),
     )
 
     maybe(
@@ -364,7 +364,7 @@
         type = "tar.gz",
         sha256 = "2fff2a6927b3bb87f9595d67196a70493f627687a71d87a0d692242c33f58c11",
         strip_prefix = "cc-1.0.73",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.cc-1.0.73.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.cc-1.0.73.bazel"),
     )
 
     maybe(
@@ -374,7 +374,7 @@
         type = "tar.gz",
         sha256 = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822",
         strip_prefix = "cfg-if-0.1.10",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.cfg-if-0.1.10.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.cfg-if-0.1.10.bazel"),
     )
 
     maybe(
@@ -384,7 +384,7 @@
         type = "tar.gz",
         sha256 = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd",
         strip_prefix = "cfg-if-1.0.0",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.cfg-if-1.0.0.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.cfg-if-1.0.0.bazel"),
     )
 
     maybe(
@@ -394,7 +394,7 @@
         type = "tar.gz",
         sha256 = "a0610544180c38b88101fecf2dd634b174a62eef6946f84dfc6a7127512b381c",
         strip_prefix = "clap-2.34.0",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.clap-2.34.0.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.clap-2.34.0.bazel"),
     )
 
     maybe(
@@ -404,7 +404,7 @@
         type = "tar.gz",
         sha256 = "a28b32d32ca44b70c3e4acd7db1babf555fa026e385fb95f18028f88848b3c31",
         strip_prefix = "console-0.15.0",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.console-0.15.0.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.console-0.15.0.bazel"),
     )
 
     maybe(
@@ -414,7 +414,7 @@
         type = "tar.gz",
         sha256 = "9d6f2aa4d0537bcc1c74df8755072bd31c1ef1a3a1b85a68e8404a8c353b7b8b",
         strip_prefix = "const-oid-0.6.2",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.const-oid-0.6.2.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.const-oid-0.6.2.bazel"),
     )
 
     maybe(
@@ -424,7 +424,7 @@
         type = "tar.gz",
         sha256 = "59a6001667ab124aebae2a495118e11d30984c3a653e99d86d58971708cf5e4b",
         strip_prefix = "cpufeatures-0.2.2",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.cpufeatures-0.2.2.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.cpufeatures-0.2.2.bazel"),
     )
 
     maybe(
@@ -434,7 +434,7 @@
         type = "tar.gz",
         sha256 = "b540bd8bc810d3885c6ea91e2018302f68baba2129ab3e88f32389ee9370880d",
         strip_prefix = "crc32fast-1.3.2",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.crc32fast-1.3.2.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.crc32fast-1.3.2.bazel"),
     )
 
     maybe(
@@ -444,7 +444,7 @@
         type = "tar.gz",
         sha256 = "f83bd3bb4314701c568e340cd8cf78c975aa0ca79e03d3f6d1677d5b0c9c0c03",
         strip_prefix = "crypto-bigint-0.2.11",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.crypto-bigint-0.2.11.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.crypto-bigint-0.2.11.bazel"),
     )
 
     maybe(
@@ -454,7 +454,7 @@
         type = "tar.gz",
         sha256 = "2ccfd8c0ee4cce11e45b3fd6f9d5e69e0cc62912aa6a0cb1bf4617b0eba5a12f",
         strip_prefix = "crypto-common-0.1.5",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.crypto-common-0.1.5.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.crypto-common-0.1.5.bazel"),
     )
 
     maybe(
@@ -464,7 +464,7 @@
         type = "tar.gz",
         sha256 = "f877be4f7c9f246b183111634f75baa039715e3f46ce860677d3b19a69fb229c",
         strip_prefix = "ctor-0.1.22",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.ctor-0.1.22.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.ctor-0.1.22.bazel"),
     )
 
     maybe(
@@ -474,7 +474,7 @@
         type = "tar.gz",
         sha256 = "79b71cca7d95d7681a4b3b9cdf63c8dbc3730d0584c2c74e31416d64a90493f4",
         strip_prefix = "der-0.4.5",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.der-0.4.5.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.der-0.4.5.bazel"),
     )
 
     maybe(
@@ -484,7 +484,7 @@
         type = "tar.gz",
         sha256 = "6d944ac6003ed268757ef1ee686753b57efc5fcf0ebe7b64c9fc81e7e32ff839",
         strip_prefix = "derive_more-0.14.1",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.derive_more-0.14.1.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.derive_more-0.14.1.bazel"),
     )
 
     maybe(
@@ -494,7 +494,7 @@
         type = "tar.gz",
         sha256 = "1f486ff51f3ecdf9364736375a4b358b6eb9f02555d5324fa4837c00b5aa23f5",
         strip_prefix = "deser-hjson-1.0.2",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.deser-hjson-1.0.2.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.deser-hjson-1.0.2.bazel"),
     )
 
     maybe(
@@ -504,7 +504,7 @@
         type = "tar.gz",
         sha256 = "f2fb860ca6fafa5552fb6d0e816a69c8e49f0908bf524e30a90d97c85892d506",
         strip_prefix = "digest-0.10.3",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.digest-0.10.3.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.digest-0.10.3.bazel"),
     )
 
     maybe(
@@ -514,7 +514,7 @@
         type = "tar.gz",
         sha256 = "d3dd60d1080a57a05ab032377049e0591415d2b31afd7028356dbf3cc6dcb066",
         strip_prefix = "digest-0.9.0",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.digest-0.9.0.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.digest-0.9.0.bazel"),
     )
 
     maybe(
@@ -524,7 +524,7 @@
         type = "tar.gz",
         sha256 = "f51c5d4ddabd36886dd3e1438cb358cdcb0d7c499cb99cb4ac2e38e18b5cb210",
         strip_prefix = "directories-4.0.1",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.directories-4.0.1.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.directories-4.0.1.bazel"),
     )
 
     maybe(
@@ -534,7 +534,7 @@
         type = "tar.gz",
         sha256 = "1b1d1d91c932ef41c0f2663aa8b0ca0342d444d842c06914aa0a7e352d0bada6",
         strip_prefix = "dirs-sys-0.3.7",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.dirs-sys-0.3.7.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.dirs-sys-0.3.7.bazel"),
     )
 
     maybe(
@@ -544,7 +544,7 @@
         type = "tar.gz",
         sha256 = "a357d28ed41a50f9c765dbfe56cbc04a64e53e5fc58ba79fbc34c10ef3df831f",
         strip_prefix = "encode_unicode-0.3.6",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.encode_unicode-0.3.6.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.encode_unicode-0.3.6.bazel"),
     )
 
     maybe(
@@ -554,7 +554,7 @@
         type = "tar.gz",
         sha256 = "a19187fea3ac7e84da7dacf48de0c45d63c6a76f9490dae389aead16c243fce3",
         strip_prefix = "env_logger-0.8.4",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.env_logger-0.8.4.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.env_logger-0.8.4.bazel"),
     )
 
     maybe(
@@ -564,7 +564,7 @@
         type = "tar.gz",
         sha256 = "81d013529d5574a60caeda29e179e695125448e5de52e3874f7b4c1d7360e18e",
         strip_prefix = "erased-serde-0.3.21",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.erased-serde-0.3.21.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.erased-serde-0.3.21.bazel"),
     )
 
     maybe(
@@ -574,7 +574,7 @@
         type = "tar.gz",
         sha256 = "c3fcf0cee53519c866c09b5de1f6c56ff9d647101f81c1964fa632e148896cdf",
         strip_prefix = "fastrand-1.7.0",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.fastrand-1.7.0.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.fastrand-1.7.0.bazel"),
     )
 
     maybe(
@@ -584,7 +584,7 @@
         type = "tar.gz",
         sha256 = "f82b0f4c27ad9f8bfd1f3208d882da2b09c301bc1c828fd3a00d0216d2fbbff6",
         strip_prefix = "flate2-1.0.24",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.flate2-1.0.24.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.flate2-1.0.24.bazel"),
     )
 
     maybe(
@@ -594,7 +594,7 @@
         type = "tar.gz",
         sha256 = "fd48d33ec7f05fbfa152300fdad764757cbded343c1aa1cff2fbaf4134851803",
         strip_prefix = "generic-array-0.14.5",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.generic-array-0.14.5.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.generic-array-0.14.5.bazel"),
     )
 
     maybe(
@@ -604,7 +604,7 @@
         type = "tar.gz",
         sha256 = "4eb1a864a501629691edf6c15a593b7a51eebaa1e8468e9ddc623de7c9b58ec6",
         strip_prefix = "getrandom-0.2.7",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.getrandom-0.2.7.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.getrandom-0.2.7.bazel"),
     )
 
     maybe(
@@ -614,7 +614,7 @@
         type = "tar.gz",
         sha256 = "b93490550b1782c589a350f2211fff2e34682e25fed17ef53fc4fa8fe184975e",
         strip_prefix = "ghost-0.1.5",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.ghost-0.1.5.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.ghost-0.1.5.bazel"),
     )
 
     maybe(
@@ -624,7 +624,7 @@
         type = "tar.gz",
         sha256 = "78cc372d058dcf6d5ecd98510e7fbc9e5aec4d21de70f65fea8fecebcd881bd4",
         strip_prefix = "gimli-0.26.1",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.gimli-0.26.1.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.gimli-0.26.1.bazel"),
     )
 
     maybe(
@@ -634,7 +634,7 @@
         type = "tar.gz",
         sha256 = "6d621efb26863f0e9924c6ac577e8275e5e6b77455db64ffa6c65c904e9e132c",
         strip_prefix = "heck-0.3.3",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.heck-0.3.3.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.heck-0.3.3.bazel"),
     )
 
     maybe(
@@ -644,7 +644,7 @@
         type = "tar.gz",
         sha256 = "62b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33",
         strip_prefix = "hermit-abi-0.1.19",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.hermit-abi-0.1.19.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.hermit-abi-0.1.19.bazel"),
     )
 
     maybe(
@@ -654,7 +654,7 @@
         type = "tar.gz",
         sha256 = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70",
         strip_prefix = "hex-0.4.3",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.hex-0.4.3.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.hex-0.4.3.bazel"),
     )
 
     maybe(
@@ -664,7 +664,7 @@
         type = "tar.gz",
         sha256 = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4",
         strip_prefix = "humantime-2.1.0",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.humantime-2.1.0.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.humantime-2.1.0.bazel"),
     )
 
     maybe(
@@ -674,7 +674,7 @@
         type = "tar.gz",
         sha256 = "2d207dc617c7a380ab07ff572a6e52fa202a2a8f355860ac9c38e23f8196be1b",
         strip_prefix = "indicatif-0.16.2",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.indicatif-0.16.2.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.indicatif-0.16.2.bazel"),
     )
 
     maybe(
@@ -684,7 +684,7 @@
         type = "tar.gz",
         sha256 = "7a5bbe824c507c5da5956355e86a746d82e0e1464f65d862cc5e71da70e94b2c",
         strip_prefix = "instant-0.1.12",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.instant-0.1.12.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.instant-0.1.12.bazel"),
     )
 
     maybe(
@@ -694,7 +694,7 @@
         type = "tar.gz",
         sha256 = "84344c6e0b90a9e2b6f3f9abe5cc74402684e348df7b32adca28747e0cef091a",
         strip_prefix = "inventory-0.2.3",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.inventory-0.2.3.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.inventory-0.2.3.bazel"),
     )
 
     maybe(
@@ -704,7 +704,7 @@
         type = "tar.gz",
         sha256 = "112c678d4050afce233f4f2852bb2eb519230b3cf12f33585275537d7e41578d",
         strip_prefix = "itoa-1.0.2",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.itoa-1.0.2.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.itoa-1.0.2.bazel"),
     )
 
     maybe(
@@ -714,7 +714,7 @@
         type = "tar.gz",
         sha256 = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646",
         strip_prefix = "lazy_static-1.4.0",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.lazy_static-1.4.0.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.lazy_static-1.4.0.bazel"),
     )
 
     maybe(
@@ -724,7 +724,7 @@
         type = "tar.gz",
         sha256 = "349d5a591cd28b49e1d1037471617a32ddcda5731b99419008085f72d5a53836",
         strip_prefix = "libc-0.2.126",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.libc-0.2.126.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.libc-0.2.126.bazel"),
     )
 
     maybe(
@@ -734,7 +734,7 @@
         type = "tar.gz",
         sha256 = "33a33a362ce288760ec6a508b94caaec573ae7d3bbbd91b87aa0bad4456839db",
         strip_prefix = "libm-0.2.2",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.libm-0.2.2.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.libm-0.2.2.bazel"),
     )
 
     maybe(
@@ -744,7 +744,7 @@
         type = "tar.gz",
         sha256 = "78b324152da65df7bb95acfcaab55e3097ceaab02fb19b228a9eb74d55f135e0",
         strip_prefix = "libudev-0.3.0",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.libudev-0.3.0.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.libudev-0.3.0.bazel"),
     )
 
     maybe(
@@ -755,12 +755,12 @@
         sha256 = "3c8469b4a23b962c1396b9b451dda50ef5b283e8dd309d69033475fa9b334324",
         strip_prefix = "libudev-sys-0.1.4",
         patches = [
-            "@//third_party/rust/crates/patches:libudev-sys-0.1.4.patch",
+            "@lowrisc_opentitan//third_party/rust/crates/patches:libudev-sys-0.1.4.patch",
         ],
         patch_args = [
             "-p1",
         ],
-        build_file = Label("//third_party/rust/crates/remote:BUILD.libudev-sys-0.1.4.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.libudev-sys-0.1.4.bazel"),
     )
 
     maybe(
@@ -770,7 +770,7 @@
         type = "tar.gz",
         sha256 = "e22e89d08bbe6816c6c5d446203b859eba35b8fa94bf1b7edb2f6d25d43f023f",
         strip_prefix = "libusb1-sys-0.5.0",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.libusb1-sys-0.5.0.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.libusb1-sys-0.5.0.bazel"),
     )
 
     maybe(
@@ -780,7 +780,7 @@
         type = "tar.gz",
         sha256 = "abb12e687cfb44aa40f41fc3978ef76448f9b6038cad6aef4259d3c095a2382e",
         strip_prefix = "log-0.4.17",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.log-0.4.17.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.log-0.4.17.bazel"),
     )
 
     maybe(
@@ -790,7 +790,7 @@
         type = "tar.gz",
         sha256 = "2fd13ee2dd61cc82833ba05ade5a30bb3d63f7ced605ef827063c63078302de9",
         strip_prefix = "mach-0.1.2",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.mach-0.1.2.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.mach-0.1.2.bazel"),
     )
 
     maybe(
@@ -800,7 +800,7 @@
         type = "tar.gz",
         sha256 = "b823e83b2affd8f40a9ee8c29dbc56404c1e34cd2710921f2801e2cf29527afa",
         strip_prefix = "mach-0.3.2",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.mach-0.3.2.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.mach-0.3.2.bazel"),
     )
 
     maybe(
@@ -810,7 +810,7 @@
         type = "tar.gz",
         sha256 = "2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d",
         strip_prefix = "memchr-2.5.0",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.memchr-2.5.0.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.memchr-2.5.0.bazel"),
     )
 
     maybe(
@@ -820,7 +820,7 @@
         type = "tar.gz",
         sha256 = "5aa361d4faea93603064a027415f07bd8e1d5c88c9fbf68bf56a285428fd79ce",
         strip_prefix = "memoffset-0.6.5",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.memoffset-0.6.5.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.memoffset-0.6.5.bazel"),
     )
 
     maybe(
@@ -830,7 +830,7 @@
         type = "tar.gz",
         sha256 = "6f5c75688da582b8ffc1f1799e9db273f32133c49e048f614d22ec3256773ccc",
         strip_prefix = "miniz_oxide-0.5.3",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.miniz_oxide-0.5.3.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.miniz_oxide-0.5.3.bazel"),
     )
 
     maybe(
@@ -840,7 +840,7 @@
         type = "tar.gz",
         sha256 = "8067b404fe97c70829f082dec8bcf4f71225d7eaea1d8645349cb76fa06205cc",
         strip_prefix = "mio-0.7.14",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.mio-0.7.14.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.mio-0.7.14.bazel"),
     )
 
     maybe(
@@ -850,7 +850,7 @@
         type = "tar.gz",
         sha256 = "119701964987706f4147cff32b09ae64019be6417a90fda6f96cfac0348e8b79",
         strip_prefix = "mio-signals-0.1.5",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.mio-signals-0.1.5.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.mio-signals-0.1.5.bazel"),
     )
 
     maybe(
@@ -860,7 +860,7 @@
         type = "tar.gz",
         sha256 = "b9f1c5b025cda876f66ef43a113f91ebc9f4ccef34843000e0adf6ebbab84e21",
         strip_prefix = "miow-0.3.7",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.miow-0.3.7.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.miow-0.3.7.bazel"),
     )
 
     maybe(
@@ -870,7 +870,7 @@
         type = "tar.gz",
         sha256 = "50e4785f2c3b7589a0d0c1dd60285e1188adac4006e8abd6dd578e1567027363",
         strip_prefix = "nix-0.17.0",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.nix-0.17.0.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.nix-0.17.0.bazel"),
     )
 
     maybe(
@@ -880,7 +880,7 @@
         type = "tar.gz",
         sha256 = "8f17df307904acd05aa8e32e97bb20f2a0df1728bbc2d771ae8f9a90463441e9",
         strip_prefix = "nix-0.24.1",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.nix-0.24.1.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.nix-0.24.1.bazel"),
     )
 
     maybe(
@@ -890,7 +890,7 @@
         type = "tar.gz",
         sha256 = "c28774a7fd2fbb4f0babd8237ce554b73af68021b5f695a3cebd6c59bac0980f",
         strip_prefix = "ntapi-0.3.7",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.ntapi-0.3.7.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.ntapi-0.3.7.bazel"),
     )
 
     maybe(
@@ -900,7 +900,7 @@
         type = "tar.gz",
         sha256 = "4547ee5541c18742396ae2c895d0717d0f886d8823b8399cdaf7b07d63ad0480",
         strip_prefix = "num-bigint-dig-0.7.0",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.num-bigint-dig-0.7.0.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.num-bigint-dig-0.7.0.bazel"),
     )
 
     maybe(
@@ -910,7 +910,7 @@
         type = "tar.gz",
         sha256 = "225d3389fb3509a24c93f5c29eb6bde2586b98d9f016636dff58d7c6f7569cd9",
         strip_prefix = "num-integer-0.1.45",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.num-integer-0.1.45.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.num-integer-0.1.45.bazel"),
     )
 
     maybe(
@@ -920,7 +920,7 @@
         type = "tar.gz",
         sha256 = "7d03e6c028c5dc5cac6e2dec0efda81fc887605bb3d884578bb6d6bf7514e252",
         strip_prefix = "num-iter-0.1.43",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.num-iter-0.1.43.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.num-iter-0.1.43.bazel"),
     )
 
     maybe(
@@ -930,7 +930,7 @@
         type = "tar.gz",
         sha256 = "578ede34cf02f8924ab9447f50c28075b4d3e5b269972345e7e0372b38c6cdcd",
         strip_prefix = "num-traits-0.2.15",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.num-traits-0.2.15.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.num-traits-0.2.15.bazel"),
     )
 
     maybe(
@@ -940,7 +940,7 @@
         type = "tar.gz",
         sha256 = "cf5395665662ef45796a4ff5486c5d41d29e0c09640af4c5f17fd94ee2c119c9",
         strip_prefix = "num_enum-0.5.7",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.num_enum-0.5.7.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.num_enum-0.5.7.bazel"),
     )
 
     maybe(
@@ -950,7 +950,7 @@
         type = "tar.gz",
         sha256 = "3b0498641e53dd6ac1a4f22547548caa6864cc4933784319cd1775271c5a46ce",
         strip_prefix = "num_enum_derive-0.5.7",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.num_enum_derive-0.5.7.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.num_enum_derive-0.5.7.bazel"),
     )
 
     maybe(
@@ -960,7 +960,7 @@
         type = "tar.gz",
         sha256 = "830b246a0e5f20af87141b25c173cd1b609bd7779a4617d6ec582abaf90870f3",
         strip_prefix = "number_prefix-0.4.0",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.number_prefix-0.4.0.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.number_prefix-0.4.0.bazel"),
     )
 
     maybe(
@@ -970,7 +970,7 @@
         type = "tar.gz",
         sha256 = "a38f2be3697a57b4060074ff41b44c16870d916ad7877c17696e063257482bc7",
         strip_prefix = "object-0.25.3",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.object-0.25.3.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.object-0.25.3.bazel"),
     )
 
     maybe(
@@ -980,7 +980,7 @@
         type = "tar.gz",
         sha256 = "21158b2c33aa6d4561f1c0a6ea283ca92bc54802a93b263e910746d679a7eb53",
         strip_prefix = "object-0.29.0",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.object-0.29.0.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.object-0.29.0.bazel"),
     )
 
     maybe(
@@ -990,7 +990,7 @@
         type = "tar.gz",
         sha256 = "18a6dbe30758c9f83eb00cbea4ac95966305f5a7772f3f42ebfc7fc7eddbd8e1",
         strip_prefix = "once_cell-1.13.0",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.once_cell-1.13.0.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.once_cell-1.13.0.bazel"),
     )
 
     maybe(
@@ -1000,7 +1000,7 @@
         type = "tar.gz",
         sha256 = "84e93a3b1cc0510b03020f33f21e62acdde3dcaef432edc95bea377fbd4c2cd4",
         strip_prefix = "pem-rfc7468-0.2.4",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.pem-rfc7468-0.2.4.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.pem-rfc7468-0.2.4.bazel"),
     )
 
     maybe(
@@ -1010,7 +1010,7 @@
         type = "tar.gz",
         sha256 = "116bee8279d783c0cf370efa1a94632f2108e5ef0bb32df31f051647810a4e2c",
         strip_prefix = "pkcs1-0.2.4",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.pkcs1-0.2.4.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.pkcs1-0.2.4.bazel"),
     )
 
     maybe(
@@ -1020,7 +1020,7 @@
         type = "tar.gz",
         sha256 = "ee3ef9b64d26bad0536099c816c6734379e45bbd5f14798def6809e5cc350447",
         strip_prefix = "pkcs8-0.7.6",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.pkcs8-0.7.6.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.pkcs8-0.7.6.bazel"),
     )
 
     maybe(
@@ -1030,7 +1030,7 @@
         type = "tar.gz",
         sha256 = "1df8c4ec4b0627e53bdf214615ad287367e482558cf84b109250b37464dc03ae",
         strip_prefix = "pkg-config-0.3.25",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.pkg-config-0.3.25.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.pkg-config-0.3.25.bazel"),
     )
 
     maybe(
@@ -1040,7 +1040,7 @@
         type = "tar.gz",
         sha256 = "eb9f9e6e233e5c4a35559a617bf40a4ec447db2e84c20b55a6f83167b7e57872",
         strip_prefix = "ppv-lite86-0.2.16",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.ppv-lite86-0.2.16.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.ppv-lite86-0.2.16.bazel"),
     )
 
     maybe(
@@ -1050,7 +1050,7 @@
         type = "tar.gz",
         sha256 = "e17d47ce914bf4de440332250b0edd23ce48c005f59fab39d3335866b114f11a",
         strip_prefix = "proc-macro-crate-1.1.3",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.proc-macro-crate-1.1.3.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.proc-macro-crate-1.1.3.bazel"),
     )
 
     maybe(
@@ -1060,7 +1060,7 @@
         type = "tar.gz",
         sha256 = "da25490ff9892aab3fcf7c36f08cfb902dd3e71ca0f9f9517bea02a73a5ce38c",
         strip_prefix = "proc-macro-error-1.0.4",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.proc-macro-error-1.0.4.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.proc-macro-error-1.0.4.bazel"),
     )
 
     maybe(
@@ -1070,7 +1070,7 @@
         type = "tar.gz",
         sha256 = "a1be40180e52ecc98ad80b184934baf3d0d29f979574e439af5a55274b35f869",
         strip_prefix = "proc-macro-error-attr-1.0.4",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.proc-macro-error-attr-1.0.4.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.proc-macro-error-attr-1.0.4.bazel"),
     )
 
     maybe(
@@ -1080,7 +1080,7 @@
         type = "tar.gz",
         sha256 = "cf3d2011ab5c909338f7887f4fc896d35932e29146c12c8d01da6b22a80ba759",
         strip_prefix = "proc-macro2-0.4.30",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.proc-macro2-0.4.30.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.proc-macro2-0.4.30.bazel"),
     )
 
     maybe(
@@ -1090,7 +1090,7 @@
         type = "tar.gz",
         sha256 = "dd96a1e8ed2596c337f8eae5f24924ec83f5ad5ab21ea8e455d3566c69fbcaf7",
         strip_prefix = "proc-macro2-1.0.40",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.proc-macro2-1.0.40.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.proc-macro2-1.0.40.bazel"),
     )
 
     maybe(
@@ -1100,7 +1100,7 @@
         type = "tar.gz",
         sha256 = "6ce23b6b870e8f94f81fb0a363d65d86675884b34a09043c81e5562f11c1f8e1",
         strip_prefix = "quote-0.6.13",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.quote-0.6.13.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.quote-0.6.13.bazel"),
     )
 
     maybe(
@@ -1110,7 +1110,7 @@
         type = "tar.gz",
         sha256 = "3bcdf212e9776fbcb2d23ab029360416bb1706b1aea2d1a5ba002727cbcab804",
         strip_prefix = "quote-1.0.20",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.quote-1.0.20.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.quote-1.0.20.bazel"),
     )
 
     maybe(
@@ -1120,7 +1120,7 @@
         type = "tar.gz",
         sha256 = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404",
         strip_prefix = "rand-0.8.5",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.rand-0.8.5.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.rand-0.8.5.bazel"),
     )
 
     maybe(
@@ -1130,7 +1130,7 @@
         type = "tar.gz",
         sha256 = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88",
         strip_prefix = "rand_chacha-0.3.1",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.rand_chacha-0.3.1.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.rand_chacha-0.3.1.bazel"),
     )
 
     maybe(
@@ -1140,7 +1140,7 @@
         type = "tar.gz",
         sha256 = "d34f1408f55294453790c48b2f1ebbb1c5b4b7563eb1f418bcfcfdbb06ebb4e7",
         strip_prefix = "rand_core-0.6.3",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.rand_core-0.6.3.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.rand_core-0.6.3.bazel"),
     )
 
     maybe(
@@ -1150,7 +1150,7 @@
         type = "tar.gz",
         sha256 = "51f512d7504049ef0d3f5d48d8aa5129beaea4fccfaf5c500c9b60101394f8b1",
         strip_prefix = "raw_tty-0.1.0",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.raw_tty-0.1.0.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.raw_tty-0.1.0.bazel"),
     )
 
     maybe(
@@ -1160,7 +1160,7 @@
         type = "tar.gz",
         sha256 = "62f25bc4c7e55e0b0b7a1d43fb893f4fa1361d0abe38b9ce4f323c2adfe6ef42",
         strip_prefix = "redox_syscall-0.2.13",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.redox_syscall-0.2.13.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.redox_syscall-0.2.13.bazel"),
     )
 
     maybe(
@@ -1170,7 +1170,7 @@
         type = "tar.gz",
         sha256 = "b033d837a7cf162d7993aded9304e30a83213c648b6e389db233191f891e5c2b",
         strip_prefix = "redox_users-0.4.3",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.redox_users-0.4.3.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.redox_users-0.4.3.bazel"),
     )
 
     maybe(
@@ -1180,7 +1180,7 @@
         type = "tar.gz",
         sha256 = "4c4eb3267174b8c6c2f654116623910a0fef09c4753f8dd83db29c48a0df988b",
         strip_prefix = "regex-1.6.0",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.regex-1.6.0.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.regex-1.6.0.bazel"),
     )
 
     maybe(
@@ -1190,7 +1190,7 @@
         type = "tar.gz",
         sha256 = "a3f87b73ce11b1619a3c6332f45341e0047173771e8b8b73f87bfeefb7b56244",
         strip_prefix = "regex-syntax-0.6.27",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.regex-syntax-0.6.27.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.regex-syntax-0.6.27.bazel"),
     )
 
     maybe(
@@ -1200,7 +1200,7 @@
         type = "tar.gz",
         sha256 = "3acd125665422973a33ac9d3dd2df85edad0f4ae9b00dafb1a05e43a9f5ef8e7",
         strip_prefix = "remove_dir_all-0.5.3",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.remove_dir_all-0.5.3.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.remove_dir_all-0.5.3.bazel"),
     )
 
     maybe(
@@ -1210,7 +1210,7 @@
         type = "tar.gz",
         sha256 = "e05c2603e2823634ab331437001b411b9ed11660fbc4066f3908c84a9439260d",
         strip_prefix = "rsa-0.5.0",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.rsa-0.5.0.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.rsa-0.5.0.bazel"),
     )
 
     maybe(
@@ -1220,7 +1220,7 @@
         type = "tar.gz",
         sha256 = "d9a5084628cc5be77b1c750b3e5ee0cc519d2f2491b3f06b78b3aac3328b00ad",
         strip_prefix = "rusb-0.8.1",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.rusb-0.8.1.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.rusb-0.8.1.bazel"),
     )
 
     maybe(
@@ -1230,7 +1230,7 @@
         type = "tar.gz",
         sha256 = "7ef03e0a2b150c7a90d01faf6254c9c48a41e95fb2a8c2ac1c6f0d2b9aefc342",
         strip_prefix = "rustc-demangle-0.1.21",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.rustc-demangle-0.1.21.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.rustc-demangle-0.1.21.bazel"),
     )
 
     maybe(
@@ -1240,7 +1240,7 @@
         type = "tar.gz",
         sha256 = "138e3e0acb6c9fb258b19b67cb8abd63c00679d2851805ea151465464fe9030a",
         strip_prefix = "rustc_version-0.2.3",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.rustc_version-0.2.3.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.rustc_version-0.2.3.bazel"),
     )
 
     maybe(
@@ -1250,7 +1250,7 @@
         type = "tar.gz",
         sha256 = "f3f6f92acf49d1b98f7a81226834412ada05458b7364277387724a237f062695",
         strip_prefix = "ryu-1.0.10",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.ryu-1.0.10.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.ryu-1.0.10.bazel"),
     )
 
     maybe(
@@ -1260,7 +1260,7 @@
         type = "tar.gz",
         sha256 = "1d7eb9ef2c18661902cc47e535f9bc51b78acd254da71d375c2f6720d9a40403",
         strip_prefix = "semver-0.9.0",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.semver-0.9.0.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.semver-0.9.0.bazel"),
     )
 
     maybe(
@@ -1270,7 +1270,7 @@
         type = "tar.gz",
         sha256 = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3",
         strip_prefix = "semver-parser-0.7.0",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.semver-parser-0.7.0.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.semver-parser-0.7.0.bazel"),
     )
 
     maybe(
@@ -1280,7 +1280,7 @@
         type = "tar.gz",
         sha256 = "0171ebb889e45aa68b44aee0859b3eede84c6f5f5c228e6f140c0b2a0a46cad6",
         strip_prefix = "serde-1.0.139",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.serde-1.0.139.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.serde-1.0.139.bazel"),
     )
 
     maybe(
@@ -1290,7 +1290,7 @@
         type = "tar.gz",
         sha256 = "dc1d3230c1de7932af58ad8ffbe1d784bd55efd5a9d84ac24f69c72d83543dfb",
         strip_prefix = "serde_derive-1.0.139",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.serde_derive-1.0.139.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.serde_derive-1.0.139.bazel"),
     )
 
     maybe(
@@ -1300,7 +1300,7 @@
         type = "tar.gz",
         sha256 = "82c2c1fdcd807d1098552c5b9a36e425e42e9fbd7c6a37a8425f390f781f7fa7",
         strip_prefix = "serde_json-1.0.82",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.serde_json-1.0.82.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.serde_json-1.0.82.bazel"),
     )
 
     maybe(
@@ -1310,7 +1310,7 @@
         type = "tar.gz",
         sha256 = "aab92efb5cf60ad310548bc3f16fa6b0d950019cb7ed8ff41968c3d03721cf12",
         strip_prefix = "serialport-4.2.0",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.serialport-4.2.0.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.serialport-4.2.0.bazel"),
     )
 
     maybe(
@@ -1320,7 +1320,7 @@
         type = "tar.gz",
         sha256 = "55deaec60f81eefe3cce0dc50bda92d6d8e88f2a27df7c5033b42afeb1ed2676",
         strip_prefix = "sha2-0.10.2",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.sha2-0.10.2.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.sha2-0.10.2.bazel"),
     )
 
     maybe(
@@ -1330,7 +1330,7 @@
         type = "tar.gz",
         sha256 = "89e515aa4699a88148ed5ef96413ceef0048ce95b43fbc955a33bde0a70fcae6",
         strip_prefix = "shellwords-1.1.0",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.shellwords-1.1.0.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.shellwords-1.1.0.bazel"),
     )
 
     maybe(
@@ -1340,7 +1340,7 @@
         type = "tar.gz",
         sha256 = "2fd0db749597d91ff862fd1d55ea87f7855a744a8425a64695b6fca237d1dad1",
         strip_prefix = "smallvec-1.9.0",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.smallvec-1.9.0.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.smallvec-1.9.0.bazel"),
     )
 
     maybe(
@@ -1350,7 +1350,7 @@
         type = "tar.gz",
         sha256 = "6e63cff320ae2c57904679ba7cb63280a3dc4613885beafb148ee7bf9aa9042d",
         strip_prefix = "spin-0.5.2",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.spin-0.5.2.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.spin-0.5.2.bazel"),
     )
 
     maybe(
@@ -1360,7 +1360,7 @@
         type = "tar.gz",
         sha256 = "5c01a0c15da1b0b0e1494112e7af814a678fec9bd157881b49beac661e9b6f32",
         strip_prefix = "spki-0.4.1",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.spki-0.4.1.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.spki-0.4.1.bazel"),
     )
 
     maybe(
@@ -1370,7 +1370,7 @@
         type = "tar.gz",
         sha256 = "8ea5119cdb4c55b55d432abb513a0429384878c15dde60cc77b1c99de1a95a6a",
         strip_prefix = "strsim-0.8.0",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.strsim-0.8.0.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.strsim-0.8.0.bazel"),
     )
 
     maybe(
@@ -1380,7 +1380,7 @@
         type = "tar.gz",
         sha256 = "0c6b5c64445ba8094a6ab0c3cd2ad323e07171012d9c98b0b15651daf1787a10",
         strip_prefix = "structopt-0.3.26",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.structopt-0.3.26.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.structopt-0.3.26.bazel"),
     )
 
     maybe(
@@ -1390,7 +1390,7 @@
         type = "tar.gz",
         sha256 = "dcb5ae327f9cc13b68763b5749770cb9e048a99bd9dfdfa58d0cf05d5f64afe0",
         strip_prefix = "structopt-derive-0.4.18",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.structopt-derive-0.4.18.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.structopt-derive-0.4.18.bazel"),
     )
 
     maybe(
@@ -1400,7 +1400,7 @@
         type = "tar.gz",
         sha256 = "6bdef32e8150c2a081110b42772ffe7d7c9032b606bc226c8260fd97e0976601",
         strip_prefix = "subtle-2.4.1",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.subtle-2.4.1.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.subtle-2.4.1.bazel"),
     )
 
     maybe(
@@ -1410,7 +1410,7 @@
         type = "tar.gz",
         sha256 = "9ca4b3b69a77cbe1ffc9e198781b7acb0c7365a883670e8f1c1bc66fba79a5c5",
         strip_prefix = "syn-0.15.44",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.syn-0.15.44.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.syn-0.15.44.bazel"),
     )
 
     maybe(
@@ -1420,7 +1420,7 @@
         type = "tar.gz",
         sha256 = "c50aef8a904de4c23c788f104b7dddc7d6f79c647c7c8ce4cc8f73eb0ca773dd",
         strip_prefix = "syn-1.0.98",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.syn-1.0.98.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.syn-1.0.98.bazel"),
     )
 
     maybe(
@@ -1430,7 +1430,7 @@
         type = "tar.gz",
         sha256 = "f36bdaa60a83aca3921b5259d5400cbf5e90fc51931376a9bd4a0eb79aa7210f",
         strip_prefix = "synstructure-0.12.6",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.synstructure-0.12.6.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.synstructure-0.12.6.bazel"),
     )
 
     maybe(
@@ -1440,7 +1440,7 @@
         type = "tar.gz",
         sha256 = "5cdb1ef4eaeeaddc8fbd371e5017057064af0911902ef36b39801f67cc6d79e4",
         strip_prefix = "tempfile-3.3.0",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.tempfile-3.3.0.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.tempfile-3.3.0.bazel"),
     )
 
     maybe(
@@ -1450,7 +1450,7 @@
         type = "tar.gz",
         sha256 = "bab24d30b911b2376f3a13cc2cd443142f0c81dda04c118693e35b3835757755",
         strip_prefix = "termcolor-1.1.3",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.termcolor-1.1.3.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.termcolor-1.1.3.bazel"),
     )
 
     maybe(
@@ -1460,7 +1460,7 @@
         type = "tar.gz",
         sha256 = "633c1a546cee861a1a6d0dc69ebeca693bf4296661ba7852b9d21d159e0506df",
         strip_prefix = "terminal_size-0.1.17",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.terminal_size-0.1.17.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.terminal_size-0.1.17.bazel"),
     )
 
     maybe(
@@ -1470,7 +1470,7 @@
         type = "tar.gz",
         sha256 = "d326610f408c7a4eb6f51c37c330e496b08506c9457c9d34287ecc38809fb060",
         strip_prefix = "textwrap-0.11.0",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.textwrap-0.11.0.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.textwrap-0.11.0.bazel"),
     )
 
     maybe(
@@ -1480,7 +1480,7 @@
         type = "tar.gz",
         sha256 = "bd829fe32373d27f76265620b5309d0340cb8550f523c1dda251d6298069069a",
         strip_prefix = "thiserror-1.0.31",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.thiserror-1.0.31.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.thiserror-1.0.31.bazel"),
     )
 
     maybe(
@@ -1490,7 +1490,7 @@
         type = "tar.gz",
         sha256 = "0396bc89e626244658bef819e22d0cc459e795a5ebe878e6ec336d1674a8d79a",
         strip_prefix = "thiserror-impl-1.0.31",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.thiserror-impl-1.0.31.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.thiserror-impl-1.0.31.bazel"),
     )
 
     maybe(
@@ -1500,7 +1500,7 @@
         type = "tar.gz",
         sha256 = "8d82e1a7758622a465f8cee077614c73484dac5b836c02ff6a40d5d1010324d7",
         strip_prefix = "toml-0.5.9",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.toml-0.5.9.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.toml-0.5.9.bazel"),
     )
 
     maybe(
@@ -1510,7 +1510,7 @@
         type = "tar.gz",
         sha256 = "dcf81ac59edc17cc8697ff311e8f5ef2d99fcbd9817b34cec66f90b6c3dfd987",
         strip_prefix = "typenum-1.15.0",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.typenum-1.15.0.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.typenum-1.15.0.bazel"),
     )
 
     maybe(
@@ -1520,7 +1520,7 @@
         type = "tar.gz",
         sha256 = "4080564c5b2241b5bff53ab610082234e0c57b0417f4bd10596f183001505b8a",
         strip_prefix = "typetag-0.1.8",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.typetag-0.1.8.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.typetag-0.1.8.bazel"),
     )
 
     maybe(
@@ -1530,7 +1530,7 @@
         type = "tar.gz",
         sha256 = "e60147782cc30833c05fba3bab1d9b5771b2685a2557672ac96fa5d154099c0e",
         strip_prefix = "typetag-impl-0.1.8",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.typetag-impl-0.1.8.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.typetag-impl-0.1.8.bazel"),
     )
 
     maybe(
@@ -1540,7 +1540,7 @@
         type = "tar.gz",
         sha256 = "5bd2fe26506023ed7b5e1e315add59d6f584c621d037f9368fea9cfb988f368c",
         strip_prefix = "unicode-ident-1.0.1",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.unicode-ident-1.0.1.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.unicode-ident-1.0.1.bazel"),
     )
 
     maybe(
@@ -1550,7 +1550,7 @@
         type = "tar.gz",
         sha256 = "7e8820f5d777f6224dc4be3632222971ac30164d4a258d595640799554ebfd99",
         strip_prefix = "unicode-segmentation-1.9.0",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.unicode-segmentation-1.9.0.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.unicode-segmentation-1.9.0.bazel"),
     )
 
     maybe(
@@ -1560,7 +1560,7 @@
         type = "tar.gz",
         sha256 = "3ed742d4ea2bd1176e236172c8429aaf54486e7ac098db29ffe6529e0ce50973",
         strip_prefix = "unicode-width-0.1.9",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.unicode-width-0.1.9.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.unicode-width-0.1.9.bazel"),
     )
 
     maybe(
@@ -1570,7 +1570,7 @@
         type = "tar.gz",
         sha256 = "fc72304796d0818e357ead4e000d19c9c174ab23dc11093ac919054d20a6a7fc",
         strip_prefix = "unicode-xid-0.1.0",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.unicode-xid-0.1.0.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.unicode-xid-0.1.0.bazel"),
     )
 
     maybe(
@@ -1580,7 +1580,7 @@
         type = "tar.gz",
         sha256 = "957e51f3646910546462e67d5f7599b9e4fb8acdd304b087a6494730f9eebf04",
         strip_prefix = "unicode-xid-0.2.3",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.unicode-xid-0.2.3.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.unicode-xid-0.2.3.bazel"),
     )
 
     maybe(
@@ -1590,7 +1590,7 @@
         type = "tar.gz",
         sha256 = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426",
         strip_prefix = "vcpkg-0.2.15",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.vcpkg-0.2.15.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.vcpkg-0.2.15.bazel"),
     )
 
     maybe(
@@ -1600,7 +1600,7 @@
         type = "tar.gz",
         sha256 = "f1bddf1187be692e79c5ffeab891132dfb0f236ed36a43c7ed39f1165ee20191",
         strip_prefix = "vec_map-0.8.2",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.vec_map-0.8.2.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.vec_map-0.8.2.bazel"),
     )
 
     maybe(
@@ -1610,7 +1610,7 @@
         type = "tar.gz",
         sha256 = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f",
         strip_prefix = "version_check-0.9.4",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.version_check-0.9.4.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.version_check-0.9.4.bazel"),
     )
 
     maybe(
@@ -1620,7 +1620,7 @@
         type = "tar.gz",
         sha256 = "6a02e4885ed3bc0f2de90ea6dd45ebcbb66dacffe03547fadbb0eeae2770887d",
         strip_prefix = "void-1.0.2",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.void-1.0.2.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.void-1.0.2.bazel"),
     )
 
     maybe(
@@ -1630,7 +1630,7 @@
         type = "tar.gz",
         sha256 = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423",
         strip_prefix = "wasi-0.11.0+wasi-snapshot-preview1",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.wasi-0.11.0+wasi-snapshot-preview1.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.wasi-0.11.0+wasi-snapshot-preview1.bazel"),
     )
 
     maybe(
@@ -1640,7 +1640,7 @@
         type = "tar.gz",
         sha256 = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419",
         strip_prefix = "winapi-0.3.9",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.winapi-0.3.9.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.winapi-0.3.9.bazel"),
     )
 
     maybe(
@@ -1650,7 +1650,7 @@
         type = "tar.gz",
         sha256 = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6",
         strip_prefix = "winapi-i686-pc-windows-gnu-0.4.0",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.winapi-i686-pc-windows-gnu-0.4.0.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.winapi-i686-pc-windows-gnu-0.4.0.bazel"),
     )
 
     maybe(
@@ -1660,7 +1660,7 @@
         type = "tar.gz",
         sha256 = "70ec6ce85bb158151cae5e5c87f95a8e97d2c0c4b001223f33a334e3ce5de178",
         strip_prefix = "winapi-util-0.1.5",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.winapi-util-0.1.5.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.winapi-util-0.1.5.bazel"),
     )
 
     maybe(
@@ -1670,7 +1670,7 @@
         type = "tar.gz",
         sha256 = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f",
         strip_prefix = "winapi-x86_64-pc-windows-gnu-0.4.0",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel"),
     )
 
     maybe(
@@ -1680,7 +1680,7 @@
         type = "tar.gz",
         sha256 = "5e59ec1d2457bd6c0dd89b50e7d9d6b0b647809bf3f0a59ac85557046950b7b2",
         strip_prefix = "zerocopy-0.5.0",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.zerocopy-0.5.0.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.zerocopy-0.5.0.bazel"),
     )
 
     maybe(
@@ -1690,7 +1690,7 @@
         type = "tar.gz",
         sha256 = "a0fbc82b82efe24da867ee52e015e58178684bd9dd64c34e66bdf21da2582a9f",
         strip_prefix = "zerocopy-derive-0.3.1",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.zerocopy-derive-0.3.1.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.zerocopy-derive-0.3.1.bazel"),
     )
 
     maybe(
@@ -1700,7 +1700,7 @@
         type = "tar.gz",
         sha256 = "d68d9dcec5f9b43a30d38c49f91dfedfaac384cb8f085faca366c26207dd1619",
         strip_prefix = "zeroize-1.4.3",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.zeroize-1.4.3.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.zeroize-1.4.3.bazel"),
     )
 
     maybe(
@@ -1710,5 +1710,5 @@
         type = "tar.gz",
         sha256 = "3f8f187641dad4f680d25c4bfc4225b418165984179f26ca76ec4fb6441d3a17",
         strip_prefix = "zeroize_derive-1.3.2",
-        build_file = Label("//third_party/rust/crates/remote:BUILD.zeroize_derive-1.3.2.bazel"),
+        build_file = Label("@lowrisc_opentitan//third_party/rust/crates/remote:BUILD.zeroize_derive-1.3.2.bazel"),
     )
diff --git a/third_party/rust/deps.bzl b/third_party/rust/deps.bzl
index 1439c59..afb4d80 100644
--- a/third_party/rust/deps.bzl
+++ b/third_party/rust/deps.bzl
@@ -3,7 +3,7 @@
 # SPDX-License-Identifier: Apache-2.0
 
 load("@rules_rust//rust:repositories.bzl", "rules_rust_dependencies", "rust_register_toolchains", "rust_repository_set")
-load("//third_party/rust/crates:crates.bzl", "raze_fetch_remote_crates")
+load("@lowrisc_opentitan//third_party/rust/crates:crates.bzl", "raze_fetch_remote_crates")
 load("@rules_rust//tools/rust_analyzer/raze:crates.bzl", "rules_rust_tools_rust_analyzer_fetch_remote_crates")
 load(
     "@safe_ftdi//third_party/rust:deps.bzl",
diff --git a/third_party/rust/repos.bzl b/third_party/rust/repos.bzl
index d35bf73..cec3a89 100644
--- a/third_party/rust/repos.bzl
+++ b/third_party/rust/repos.bzl
@@ -3,7 +3,7 @@
 # SPDX-License-Identifier: Apache-2.0
 
 load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
-load("@//rules:repo.bzl", "http_archive_or_local")
+load("@lowrisc_opentitan//rules:repo.bzl", "http_archive_or_local")
 
 def rust_repos(rules_rust = None, safe_ftdi = None):
     # We use forked/patched Rust Bazel rules to enable caching repository rules