Skip to content

Commit

Permalink
Changed .cargo/config.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
ionarevamp committed Apr 5, 2024
1 parent 4b75386 commit d564ed8
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -1,23 +1,20 @@
[target.x86_64-unknown-linux-gnu]
[dependencies.sdl2]
git = "https://github.com/rust-sdl2/rust-sdl2"
default-features = false
features = ["ttf","image","gfx","mixer","static-link","bundled"]

rustflags = [
"-C", "linker=g++",
]

[target.x86_64-unknown-linux-musl]
[dependencies.sdl2]
git = "https://github.com/rust-sdl2/rust-sdl2"
default-features = false
features = ["ttf","image","gfx","mixer","static-link","bundled"]

rustflags = [
"-C", "linker=g++",
]

[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"],
]

#[target.x86_64-unknown-linux-gnu.dependencies.sdl2]
#git = "https://github.com/rust-sdl2/rust-sdl2"
Expand Down

0 comments on commit d564ed8

Please sign in to comment.