mirror of
https://github.com/MrTiz/CET-Enum-CallStack-Spoofer
synced 2026-07-15 04:37:18 +00:00
Add .cargo/config.toml for Windows target
Add configuration for Windows target build with specific rustflags.
This commit is contained in:
@@ -0,0 +1,19 @@
|
|||||||
|
[build]
|
||||||
|
target = "x86_64-pc-windows-msvc"
|
||||||
|
|
||||||
|
[target.x86_64-pc-windows-msvc]
|
||||||
|
rustflags = [
|
||||||
|
"-C", "link-arg=/OSVERSION:6.2",
|
||||||
|
"-C", "link-arg=/MACHINE:X64",
|
||||||
|
|
||||||
|
"-C", "control-flow-guard=yes",
|
||||||
|
|
||||||
|
"-C", "link-arg=/CETCOMPAT",
|
||||||
|
"-C", "link-arg=/force:guardehcont",
|
||||||
|
"-C", "link-arg=/guard:ehcont",
|
||||||
|
# "-Z", "ehcont-guard", # requires nightly; uncomment if using rustc nightly
|
||||||
|
|
||||||
|
"-C", "link-arg=/DYNAMICBASE",
|
||||||
|
"-C", "link-arg=/NXCOMPAT",
|
||||||
|
"-C", "link-arg=/HIGHENTROPYVA",
|
||||||
|
]
|
||||||
Reference in New Issue
Block a user