shinchiro / mpv-winbuild-cmake

CMake-based MinGW-w64 Cross Toolchain
662 stars 119 forks source link

rust: build std #590

Closed Andarwinux closed 9 months ago

shinchiro commented 10 months ago

Remove control-flow-guard=yes.

Why? https://doc.rust-lang.org/beta/unstable-book/compiler-flags/control-flow-guard.html#overhead-of-control-flow-guard

shinchiro commented 10 months ago

Well, I still dont like the flags since it can potentially increase binary size for no reason. Remove it

shinchiro commented 10 months ago

There is a bug in cfguard

Thats my concern with these flags when it is introduced. I'll remove the cfguard from compiler flags soon