From 01a5f2efe3a4cd83c30b5cc3f31633652e904e1e Mon Sep 17 00:00:00 2001 From: ionarevamp Date: Fri, 5 Apr 2024 10:28:56 -0600 Subject: [PATCH] Changed build process --- .cargo/config.toml | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/.cargo/config.toml b/.cargo/config.toml index 52064f2..efded82 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -1,20 +1,11 @@ -[target.x86_64-unknown-linux-gnu] +[target.'cfg(target_arch = "x86_64")'.dependencies] +sld2 = ["sdl2"] rustflags = [ "-C", "linker=gcc", "-L", "/usr/lib", ] -[target.x86_64-unknown-linux-musl] -rustflags = [ - "-C", "linker=gcc", - "-L", "/usr/lib", - -] - -[target.'cfg(target_arch = "x86_64")'.dependencies] -sld2 = ["sdl2"] - [target.'cfg(target_arch = "x86_64")'.dependencies.sdl2] git = "https://github.com/rust-sdl2/rust-sdl2" default-features = false