From 6fccff48100ceed4120cd59c401ffc66b4a77bf6 Mon Sep 17 00:00:00 2001 From: fys <40801205+fengys1996@users.noreply.github.com> Date: Tue, 20 Aug 2024 10:27:31 +0800 Subject: [PATCH] chore: keep symbol table in nightly profile (#4588) chore: keep symbol table in nighly profile --- Cargo.toml | 4 ++-- Makefile | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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.