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
59899d95b3
commit
dbad596ad7
@@ -71,9 +71,9 @@ For creating a project, execute:
|
||||
`cargo new <name>`
|
||||
This will automatically create the structured project folders with:
|
||||
|
||||
project
|
||||
`project
|
||||
-------->Cargo.toml
|
||||
-------->src-------->main.rs
|
||||
-------->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,8 +86,8 @@ 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"
|
||||
set RUSTFLAGS=-C target-feature=+crt-static```
|
||||
`"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat"
|
||||
set RUSTFLAGS=-C target-feature=+crt-static`
|
||||
|
||||
|
||||
[Install Rust](https://www.rust-lang.org/tools/install) Simply download the binary and install.
|
||||
|
||||
Reference in New Issue
Block a user