target directory
Where Cargo puts everything it builds.
target/ holds a package's build output (target/debug, target/release); it is regenerated by builds and never committed.
Loading interactive…
Examples
cargo buildwrites the program totarget/debug/hello;cargo build --releasewritestarget/release/hello.
See also