mirror of
https://github.com/touchHLE/rust-sdl2.git
synced 2026-01-31 01:25:23 +01:00
suppress warnings: unknown edition and unexpected cfg (#1471)
This commit is contained in:
committed by
GitHub
parent
f9231b465f
commit
829071af17
@@ -10,6 +10,7 @@ keywords = ["SDL", "windowing", "graphics", "api", "engine"]
|
||||
categories = ["rendering","api-bindings","game-engines","multimedia"]
|
||||
readme = "README.md"
|
||||
resolver = "2"
|
||||
edition = "2015"
|
||||
|
||||
[lib]
|
||||
name = "sdl2"
|
||||
|
||||
@@ -57,3 +57,6 @@ mixer = []
|
||||
image = []
|
||||
ttf = []
|
||||
gfx = []
|
||||
|
||||
[lints.rust]
|
||||
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(mac_framework)','cfg(ios_framework)'] }
|
||||
|
||||
Reference in New Issue
Block a user