mirror of
https://github.com/trickster0/OffensiveRust
synced 2026-06-08 17:54:47 +00:00
Update README.md
This commit is contained in:
committed by
GitHub
parent
b6fea13398
commit
5c24489652
@@ -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`
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user