diff --git a/Cargo.toml b/Cargo.toml index 0cf54634de60..41db4a72a0a4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -151,7 +151,7 @@ reqwest = { version = "0.12", default-features = false, features = [ "stream", "multipart", ] } -# SCRAM-SHA-512 requires https://github.com/dequbed/rsasl/pull/48, https://github.com/influxdata/rskafka/pull/247 +# SCRAM-SHA-512 requires https://github.com/dequbed/rsasl/pull/48, https://github.com/influxdata/rskafka/pull/247 rskafka = { git = "https://github.com/WenyXu/rskafka.git", rev = "940c6030012c5b746fad819fb72e3325b26e39de", features = [ "transport-tls", ] } @@ -251,7 +251,7 @@ debug = 1 [profile.nightly] inherits = "release" -strip = true +strip = "debuginfo" lto = "thin" debug = false incremental = false diff --git a/Makefile b/Makefile index fe79bfbb3c90..e585d1326f06 100644 --- a/Makefile +++ b/Makefile @@ -106,7 +106,7 @@ strip-android-bin: build-android-bin ## Strip greptime binary for android. docker run --network=host \ -v ${PWD}:/greptimedb \ -w /greptimedb ${IMAGE_REGISTRY}/${IMAGE_NAMESPACE}/dev-builder-android:latest \ - bash -c '$${NDK_ROOT}/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-strip /greptimedb/target/aarch64-linux-android/release/greptime' + bash -c '$${NDK_ROOT}/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-strip --strip-debug /greptimedb/target/aarch64-linux-android/release/greptime' .PHONY: clean clean: ## Clean the project.