简体   繁体   English

二进制文件的默认 cargo output 目录

[英]Default cargo output directory for binaries

I downloaded a Rust project and built it with cargo build .我下载了一个 Rust 项目并用cargo build了它。 I have not configured Rust beforehand.我没有事先配置 Rust。 Where can I find the output binaries?在哪里可以找到 output 二进制文件?

They'll be under target/debug or target/release depending on which configuration you built - if the command was just cargo build , then target/debug .它们将位于target/debugtarget/release下,具体取决于您构建的配置 - 如果命令只是cargo build ,那么target/debug

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM