Update needed for Rust v1.73.0
Bug: 303252546
Test: ./test_compiler.py --prebuilt-path dist/rust-dev.tar.xz --target aosp_cf_x86_64_phone --image
Change-Id: I2b64edde2ff7ee03b40ece7679e2e0ea8fd42090
diff --git a/tools/cargo_embargo/src/main.rs b/tools/cargo_embargo/src/main.rs
index 848880d..7890fc2 100644
--- a/tools/cargo_embargo/src/main.rs
+++ b/tools/cargo_embargo/src/main.rs
@@ -604,7 +604,7 @@
if cfg.module_blocklist.iter().any(|blocked_name| blocked_name == module_name) {
continue;
}
- m.props.set("name", module_name.clone());
+ m.props.set("name", module_name);
if stem != module_name {
m.props.set("stem", stem);
}