summaryrefslogtreecommitdiff
path: root/system/rust/build.rs
diff options
context:
space:
mode:
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()