From 0789f4b234653c187102581c0656d80b261109cf Mon Sep 17 00:00:00 2001 From: unknown Date: Thu, 8 Jan 2026 15:51:03 -0600 Subject: [PATCH 1/2] Removed config file --- .cargo/config.toml | 2 -- Cargo.toml | 6 +++++- 2 files changed, 5 insertions(+), 3 deletions(-) delete mode 100644 .cargo/config.toml diff --git a/.cargo/config.toml b/.cargo/config.toml deleted file mode 100644 index 6243706..0000000 --- a/.cargo/config.toml +++ /dev/null @@ -1,2 +0,0 @@ -[target.x86_64-pc-windows-msvc] -rustflags = ["-C", "link-arg=/STACK:8388608"] diff --git a/Cargo.toml b/Cargo.toml index 4af4326..da8dad4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -13,7 +13,7 @@ name = "rbgb" path = "src/lib.rs" [[bin]] -name = "emulator_executable" +name = "rbgb" path = "src/main.rs" [dependencies] @@ -26,5 +26,9 @@ time = "0.3.41" [target.'cfg(windows)'.dependencies] sdl2 = { version = "0.37.0", features = ["bundled"] } +[target.'cfg(windows)'] +rustflags = ["-C", "link-arg=/STACK:8388608"] + + [dev-dependencies] ntest = "0.9.3" From 81f538b2daba8721dd9137f71a548d8ada1700ca Mon Sep 17 00:00:00 2001 From: unknown Date: Thu, 8 Jan 2026 15:54:21 -0600 Subject: [PATCH 2/2] Added config file back --- .cargo/config.toml | 2 ++ Cargo.toml | 4 ---- 2 files changed, 2 insertions(+), 4 deletions(-) create mode 100644 .cargo/config.toml diff --git a/.cargo/config.toml b/.cargo/config.toml new file mode 100644 index 0000000..3982f22 --- /dev/null +++ b/.cargo/config.toml @@ -0,0 +1,2 @@ +[target.'cfg(windows)'] +rustflags = ["-C", "link-arg=/STACK:8388608"] diff --git a/Cargo.toml b/Cargo.toml index da8dad4..36c37da 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -26,9 +26,5 @@ time = "0.3.41" [target.'cfg(windows)'.dependencies] sdl2 = { version = "0.37.0", features = ["bundled"] } -[target.'cfg(windows)'] -rustflags = ["-C", "link-arg=/STACK:8388608"] - - [dev-dependencies] ntest = "0.9.3"