fork/cargo
git clone https://git.julia.blue/fork/cargo
e10429934
master
1< svg width = " 1902px " height = " 218px " xmlns = " http://www.w3.org/2000/svg "> 2< style > 3 .fg { fill: #AAAAAA } 4 .bg { fill: #000000 } 5 .fg-bright-green { fill: #55FF55 } 6 .fg-bright-red { fill: #FF5555 } 7 .container { 8 padding: 0 10px; 9 line-height: 18px; 10 } 11 .bold { font-weight: bold; } 12 tspan { 13 font: 14px SFMono-Regular, Consolas, Liberation Mono, Menlo, monospace; 14 white-space: pre; 15 line-height: 18px; 16 } 17</ style > 18 19< rect width = " 100% " height = " 100% " y = " 0 " rx = " 4.5 " class = " bg " /> 20 21< text xml:space = " preserve " class = " container fg "> 22< tspan x = " 10px " y = " 28px ">< tspan class = " fg-bright-green bold "> Creating</ tspan >< tspan > binary (application) package</ tspan > 23</ tspan > 24< tspan x = " 10px " y = " 46px ">< tspan class = " fg-bright-red bold "> error</ tspan >< tspan > : invalid package name `test`: it conflicts with Rust's built-in test library</ tspan > 25</ tspan > 26< tspan x = " 10px " y = " 64px ">< tspan > note: the directory name is used as the package name</ tspan > 27</ tspan > 28< tspan x = " 10px " y = " 82px ">< tspan > help: to override the package name, pass `--name< pkgname> `</ tspan > 29</ tspan > 30< tspan x = " 10px " y = " 100px ">< tspan > help: to name the binary "test", use a valid package name, and set the binary name to be different from the package. This can be done by setting the binary filename to `src/bin/test.rs` or change the name in Cargo.toml with:</ tspan > 31</ tspan > 32< tspan x = " 10px " y = " 118px "> 33</ tspan > 34< tspan x = " 10px " y = " 136px ">< tspan > [[bin]]</ tspan > 35</ tspan > 36< tspan x = " 10px " y = " 154px ">< tspan > name = "test"</ tspan > 37</ tspan > 38< tspan x = " 10px " y = " 172px ">< tspan > path = "src/main.rs"</ tspan > 39</ tspan > 40< tspan x = " 10px " y = " 190px "> 41</ tspan > 42< tspan x = " 10px " y = " 208px "> 43</ tspan > 44</ text > 45 46</ svg >