This is an automated email from the ASF dual-hosted git repository.

manjusaka pushed a commit to branch manjusaka/support-framepointer
in repository https://gitbox.apache.org/repos/asf/incubator-opendal.git

commit 1c4e68a5e94e011a90f2e32b2baae6218ad6661b
Author: Manjusaka <[email protected]>
AuthorDate: Mon Dec 18 21:01:42 2023 +0800

    ci(cargo): Add frame pointer support in build flag
    
    Signed-off-by: Manjusaka <[email protected]>
---
 .cargo/config                         | 4 ++++
 .github/scripts/behavior_test/plan.py | 8 ++++++++
 2 files changed, 12 insertions(+)

diff --git a/.cargo/config b/.cargo/config
new file mode 100644
index 000000000..eab97dcbf
--- /dev/null
+++ b/.cargo/config
@@ -0,0 +1,4 @@
+[build]
+rustflags = "-C force-frame-pointers=yes -C debuginfo=1"
+[unstable]
+build-std = ["core", "alloc"]
\ No newline at end of file
diff --git a/.github/scripts/behavior_test/plan.py 
b/.github/scripts/behavior_test/plan.py
index 5fb0c1bc0..3ba3da7aa 100755
--- a/.github/scripts/behavior_test/plan.py
+++ b/.github/scripts/behavior_test/plan.py
@@ -126,6 +126,14 @@ def calculate_hint(changed_files: list[str]) -> Hint:
             hint.binding_python = True
             hint.binding_nodejs = True
             hint.all_service = True
+        if (
+            p.startswith(".cargo/")
+        ):
+            hint.core = True
+            hint.binding_java = True
+            hint.binding_python = True
+            hint.binding_nodejs = True
+            hint.all_service = True
 
         # language binding affected
         for language in LANGUAGE_BINDING:

Reply via email to