Skip to content

Commit 402ad74

Browse files
committed
Manually set RUSTFLAGS
These aren't being set by gradle for some reason
1 parent 54bfdc1 commit 402ad74

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/publish.yml

+1
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ jobs:
4040
rustup target add x86_64-linux-android i686-linux-android aarch64-linux-android armv7-linux-androideabi
4141
sed -i '/"run",/a\ *remapCargo.toTypedArray(),' build.gradle.kts
4242
sed -i "s|pythonCommand = \"python3\"|pythonCommand = \"python3\"\n cargoCommand = \"$(which cargo)\"\n rustcCommand = \"$(which rustc)\"\n extraCargoBuildArguments = remapCargo|" build.gradle.kts
43+
export RUSTFLAGS=--remap-path-prefix=$HOME/.cargo=/rust/cargo
4344
./gradlew :app:assembleRelease
4445
./gradlew :app:buildApksRelease
4546
./gradlew :app:bundleRelease

0 commit comments

Comments
 (0)