Skip to content

Commit 8b3212b

Browse files
committed
fix: using CARGO_BIN_NAME instead of CARGO_PKG_NAME
1 parent 94a94bc commit 8b3212b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ use agent::{generator, serialization, task::tasklet::Tasklet, Agent};
1010
mod agent;
1111
mod cli;
1212

13-
const APP_NAME: &str = env!("CARGO_PKG_NAME");
13+
const APP_NAME: &str = env!("CARGO_BIN_NAME");
1414
const APP_VERSION: &str = env!("CARGO_PKG_VERSION");
1515

1616
#[tokio::main]

0 commit comments

Comments
 (0)