summaryrefslogtreecommitdiff
path: root/system/rust/build.rs
diff options
context:
space:
mode:
author Henri Chataing <henrichataing@google.com> 2023-05-23 18:43:11 +0000
committer Henri Chataing <henrichataing@google.com> 2023-05-26 21:04:52 +0000
commitd15a41aea19802c7642a648c739d2ce2d00be2a9 (patch)
treee43f464125c1e64be2f5f1d60c3399f70698ace3 /system/rust/build.rs
parentb8f35f3e915eae4a156942bc4450f57627ba63b0 (diff)
pdl: Migrate to external/rust/crates/pdl-compiler
Bug: 283153347 Test: m Change-Id: I5909f0e778032942978a19dc9fda2e8a5e82f8aa
Diffstat (limited to 'system/rust/build.rs')
-rw-r--r--system/rust/build.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/system/rust/build.rs b/system/rust/build.rs
index c4ccf5c05e..fced4d3223 100644
--- a/system/rust/build.rs
+++ b/system/rust/build.rs
@@ -1,7 +1,7 @@
//! Build file to generate packets
//!
-//! Run `cargo install .` in `tools/pdl` to ensure `pdl` is in your
-//! path.
+//! Run `cargo install --path .` in `external/rust/crates/pdl-compiler` to ensure `pdlc`
+//! is in your path.
use std::{
env,
fs::File,
@@ -14,7 +14,7 @@ fn main() {
let dest_path = Path::new(&out_dir).join("_packets.rs");
let dest_file = File::create(dest_path).unwrap();
- let pdl = Command::new("pdl")
+ let pdl = Command::new("pdlc")
.args(["--output-format", "rust_no_alloc", "src/packets.pdl"])
.stdout(Stdio::piped())
.spawn()