Skip to content

Commit 422db5b

Browse files
committed
allow "unexpected_cfgs" in macOS OpenGL code
1 parent 439fabe commit 422db5b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/gl/macos.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// This is required because the objc crate is causing a lot of warnings: https://github.com/SSheldon/rust-objc/issues/125
2+
// Eventually we should migrate to the objc2 crate and remove this.
3+
#![allow(unexpected_cfgs)]
4+
15
use std::ffi::c_void;
26
use std::str::FromStr;
37

0 commit comments

Comments
 (0)