Update README.md

This commit is contained in:
Thanasis Tserpelis
2021-09-30 21:03:28 +03:00
committed by GitHub
parent b6fea13398
commit 5c24489652
+4 -4
View File
@@ -71,9 +71,9 @@ For creating a project, execute:
`cargo new <name>`
This will automatically create the structured project folders with:
`project`
`-------->Cargo.toml`
`-------->src-------->main.rs`
`project
-------->Cargo.toml
-------->src-------->main.rs`
Cargo.toml is the file that contains the dependencies and the configuration for the compilation.
main.rs is the main file that will be compiled along with any potential directories that contain libraries.
@@ -86,7 +86,7 @@ If you want to build the final "release" version execute:
`cargo build --release`
For static binaries, in terminal before the build command execute:
`"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat"`
`"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat"`
`set RUSTFLAGS=-C target-feature=+crt-static`