Skip to content

Commit 829071a

Browse files
authored
suppress warnings: unknown edition and unexpected cfg (#1471)
1 parent f9231b4 commit 829071a

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ keywords = ["SDL", "windowing", "graphics", "api", "engine"]
1010
categories = ["rendering","api-bindings","game-engines","multimedia"]
1111
readme = "README.md"
1212
resolver = "2"
13+
edition = "2015"
1314

1415
[lib]
1516
name = "sdl2"

sdl2-sys/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,3 +57,6 @@ mixer = []
5757
image = []
5858
ttf = []
5959
gfx = []
60+
61+
[lints.rust]
62+
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(mac_framework)','cfg(ios_framework)'] }

0 commit comments

Comments
 (0)