fn locate_codegen_bin(rust_root: &Path) -> Option<PathBuf>Expand description
Locate a runnable robonix-codegen binary without going through cargo.
Search order:
$ROBONIX_CODEGEN_BIN(override for unusual layouts)$CARGO_HOME/bin/robonix-codegen/~/.cargo/bin/robonix-codegen— whatcargo install --path crates/robonix-codegenputs there<rust_root>/target/release/robonix-codegen<rust_root>/target/debug/robonix-codegen- anything matching
robonix-codegenon$PATH
Returns None only when none of those exist; callers fall back to
cargo run -p robonix-codegen which keeps a fresh-checkout workflow
alive even before the user has installed any binaries.