Skip to content

Commit

Permalink
fix(interactive): Add a new release-with-debug-info profile (#3372)
Browse files Browse the repository at this point in the history
  • Loading branch information
siyuan0322 authored Nov 22, 2023
1 parent 9b56a9f commit 1f85ffd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 2 additions & 1 deletion interactive_engine/executor/assembly/groot/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,6 @@ column_filter_push_down = []
# TODO(siyuan): re-enable debug assertions by addressing the reports for misaligned pointer dereferences https://github.com/rust-lang/rust/pull/98112/
debug-assertions = false

[profile.release]
[profile.release-with-debug-info]
inherits = "release"
debug = true
3 changes: 1 addition & 2 deletions interactive_engine/executor/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,7 @@ if [ "$MODE" = "debug" ]; then
elif [ "$MODE" = "release" ]; then
cargo build --release $append
else
echo "Invalid mode, choose from debug or release."
exit 1
cargo build --profile $MODE $append
fi

if [ "$TARGET" = "groot" ]; then
Expand Down

0 comments on commit 1f85ffd

Please sign in to comment.