Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(interactive): Add a new release-with-debug-info profile #3372

Merged
merged 1 commit into from
Nov 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading