diff --git a/.cargo/config.toml b/.cargo/config.toml index d014a22..000893b 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -10,11 +10,12 @@ rustflags = [ ] [target.'cfg(target_arch = "x86_64")'.dependencies] -sld2 = [ -git = "https://github.com/rust-sdl2/rust-sdl2", -default-features = false, -features = ["ttf","image","gfx","mixer","static-link","bundled"], -] +sld2 = ["sdl2"] + +[target.'cfg(target_arch = "x86_64")'.dependencies.sdl2] +git = "https://github.com/rust-sdl2/rust-sdl2" +default-features = false +features = ["ttf","image","gfx","mixer","static-link","bundled"] #[target.x86_64-unknown-linux-gnu.dependencies.sdl2] #git = "https://github.com/rust-sdl2/rust-sdl2"