A GameCube/Wii emulator and debugger written in Rust.
fix very slow compilation times
Layle5d32135d198b
diff --git a/.github/workflows/deploy-wasm.yml b/.github/workflows/deploy-wasm.ymlindex c6e0f2f..9205b91 100644--- a/.github/workflows/deploy-wasm.yml+++ b/.github/workflows/deploy-wasm.yml@@ -16,7 +16,7 @@ concurrency:jobs:build:- runs-on: ubuntu-20.04+ runs-on: ubuntu-lateststeps:- uses: actions/checkout@v4with:@@ -56,7 +56,7 @@ jobs:deploy:needs: build- runs-on: ubuntu-20.04+ runs-on: ubuntu-latestenvironment:name: github-pagesurl: ${{ steps.deployment.outputs.page_url }}diff --git a/Cargo.toml b/Cargo.tomlindex f12b8f3..8e5bf36 100644--- a/Cargo.toml+++ b/Cargo.toml@@ -41,13 +41,8 @@ ecolor = { git = "https://github.com/ioncodes/egui.git" }egui-wgpu = { git = "https://github.com/ioncodes/egui.git" }egui-winit = { git = "https://github.com/ioncodes/egui.git" }-[profile.release-max]-inherits = "release"-codegen-units = 1-debug = false-[profile.release]-debug = true+codegen-units = 1lto = "fat"[profile.dev]diff --git a/crates/gecko/chipi.toml b/crates/gecko/chipi.tomlindex 8c31ea6..4606378 100644--- a/crates/gecko/chipi.toml+++ b/crates/gecko/chipi.toml@@ -5,7 +5,7 @@ handler_mod = "crate::cpu::interpreter"ctx_type = "crate::gamecube::GameCube"instr_type = "crate::cpu::instruction::Instruction"lut_mod = "crate::cpu::lut"-dispatch = "jump_table"+dispatch = "fn_ptr_lut"instr_type_output = "$OUT_DIR/gekko_instr.rs"[lut.groups]@@ -236,7 +236,7 @@ handler_mod = "crate::flipper::dsp::interpreter"ctx_type = "crate::gamecube::GameCube"instr_type = "crate::flipper::dsp::instruction::Instruction"lut_mod = "crate::flipper::dsp::lut"-dispatch = "jump_table"+dispatch = "fn_ptr_lut"instr_type_output = "$OUT_DIR/dsp_instr.rs"[lut.groups]