Skip the pointer check for functions on windows

This commit is contained in:
Alex Crichton 2015-09-16 09:48:14 -07:00
parent d11e9141b2
commit e0f4d107fa

View File

@ -186,5 +186,8 @@ fn main() {
}
});
// Windows dllimport oddness?
cfg.skip_fn_ptrcheck(move |_| windows);
cfg.generate("../src/lib.rs", "all.rs");
}