diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index ff3e1de..ff5d803 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -60,7 +60,7 @@ jobs: cargo-skyline skyline update-std - name: Build release NRO id: build_release - run: cargo-skyline skyline build --release + run: RUSTFLAGS=-g cargo-skyline skyline build --release - name: Upload plugin artifact uses: actions/upload-artifact@v3 with: @@ -85,7 +85,7 @@ jobs: cargo install cargo-skyline cargo-skyline skyline update-std - name: Build outside_training_mode NRO - run: cargo-skyline skyline build --release --features outside_training_mode + run: RUSTFLAGS=-g cargo-skyline skyline build --release --features outside_training_mode - name: Upload plugin (outside training mode) artifact uses: actions/upload-artifact@v3 with: diff --git a/ryujinx_build.ps1 b/ryujinx_build.ps1 index 9442151..316c6b9 100644 --- a/ryujinx_build.ps1 +++ b/ryujinx_build.ps1 @@ -12,6 +12,9 @@ $SMASH_NSP_PATH='C:\Users\Josh\Documents\Games\ROMs\Super Smash Bros Ultimate [B $IP=(Test-Connection -ComputerName (hostname) -Count 1 | Select -ExpandProperty IPV4Address).IPAddressToString + +# Set symbols flag +$env:RUSTFLAGS="-g" cargo skyline build --release --features layout_arc_from_file if (($lastexitcode -ne 0)) { exit $lastexitcode diff --git a/ryujinx_build.sh b/ryujinx_build.sh index e6621dd..b8ce461 100644 --- a/ryujinx_build.sh +++ b/ryujinx_build.sh @@ -6,7 +6,7 @@ SMASH_APPLICATION_PATH="C:\Users\Jdsam\Downloads\Super Smash Bros. Ultimate (Wor RYUJINX_SMASH_SKYLINE_PLUGINS_PATH="/mnt/c/Users/Jdsam/AppData/Roaming/Ryujinx/mods/contents/01006a800016e000/romfs/skyline/plugins" # Build with release feature -cargo skyline build --release --features layout_arc_from_file +RUSTFLAGS=-g cargo skyline build --release --features layout_arc_from_file # Copy over to plugins path cp target/aarch64-skyline-switch/release/libtraining_modpack.nro $RYUJINX_SMASH_SKYLINE_PLUGINS_PATH