Only add cfguard module flag on windows-msvc

This commit is contained in:
Andrew Paverd 2020-07-06 16:10:42 +01:00
parent e1beee4992
commit 1ca7bfe481
7 changed files with 36 additions and 19 deletions

View file

@ -0,0 +1,6 @@
// run-pass
// compile-flags: -Z control-flow-guard
pub fn main() {
println!("hello, world");
}