You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opendal.apache.org by xu...@apache.org on 2023/12/19 00:35:20 UTC

(incubator-opendal) branch main updated: ci(cargo): Add frame pointer support in build flag (#3772)

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

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


The following commit(s) were added to refs/heads/main by this push:
     new 62ca99de3 ci(cargo): Add frame pointer support in build flag (#3772)
62ca99de3 is described below

commit 62ca99de39d211126ba146e2f96eb67b6e4818b0
Author: Nadeshiko Manju <me...@manjusaka.me>
AuthorDate: Tue Dec 19 08:35:15 2023 +0800

    ci(cargo): Add frame pointer support in build flag (#3772)
    
    * ci(cargo): Add frame pointer support in build flag
    
    Signed-off-by: Manjusaka <me...@manjusaka.me>
    
    * update code
    
    Signed-off-by: Manjusaka <me...@manjusaka.me>
    
    * Update code
    
    Signed-off-by: Manjusaka <me...@manjusaka.me>
    
    * Update code
    
    Signed-off-by: Manjusaka <me...@manjusaka.me>
    
    * Update
    
    ---------
    
    Signed-off-by: Manjusaka <me...@manjusaka.me>
---
 .github/actions/setup/action.yaml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/.github/actions/setup/action.yaml b/.github/actions/setup/action.yaml
index 72ed77982..f9937f7ab 100644
--- a/.github/actions/setup/action.yaml
+++ b/.github/actions/setup/action.yaml
@@ -40,7 +40,8 @@ runs:
       run: |
         # Disable full debug symbol generation to speed up CI build and keep memory down
         # "1" means line tables only, which is useful for panic tracebacks.
-        echo "RUSTFLAGS=-C debuginfo=1" >> $GITHUB_ENV
+        # About `force-frame-pointers`, here's the discussion history: https://github.com/apache/incubator-opendal/issues/3756
+        echo "RUSTFLAGS=-C force-frame-pointers=yes -C debuginfo=1" >> $GITHUB_ENV
         # Enable backtraces
         echo "RUST_BACKTRACE=1" >> $GITHUB_ENV
         # Enable logging