Skip to content

Commit 4fd0282

Browse files
committed
build: changed default aw-server-rust build profile to debug
1 parent 86b0d29 commit 4fd0282

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

mobile/build.gradle

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,12 @@ cargo {
7676
module = "../aw-server-rust" // Or whatever directory contains your Cargo.toml
7777
libname = "aw_server" // Or whatever matches Cargo.toml's [package] name.
7878
targets = ["arm", "arm64", "x86", "x86_64"] // See bellow for a longer list of options
79-
profile = 'release' // Selects the Cargo release profile (defaults to 'debug')
79+
// TODO: Set to 'release' on release builds
80+
profile = 'debug' // Selects the Cargo release profile (defaults to 'debug')
8081
}
8182

8283
tasks.whenTaskAdded { task ->
83-
// TODO: Build aw-server lib here instead of in Makefile?
84+
// Build aw-server-rust
8485
if ((task.name == 'javaPreCompileDebug' || task.name == 'javaPreCompileRelease')) {
8586
task.dependsOn 'cargoBuild'
8687
}

0 commit comments

Comments
 (0)