Skip to content

Commit 79d7f8c

Browse files
committed
cargo: Disable debuginfo by default
1 parent 15dfe6a commit 79d7f8c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Cargo.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,11 @@ tokio = { git = "https://github.com/lexe-tech/tokio", branch = "tokio-sgx-1.15.
2323
# atty = { git = "https://github.com/softprops/atty", rev = "6633c0e1446aa19e6cd00e00e39770da43081bda" }
2424

2525
[profile.dev]
26-
# Fix 'warning: can't find symbol' when debugging. More info:
26+
# This fixes 'warning: can't find symbol' when debugging, but breaks the
27+
# server's build.rs, so it should always be commented out in git. More info:
2728
# https://github.com/rust-lang/rust/issues/40787#issuecomment-1019465942
2829
# https://doc.rust-lang.org/cargo/reference/profiles.html#split-debuginfo
29-
split-debuginfo = "packed"
30+
# split-debuginfo = "packed"
3031

3132
[profile.release]
3233
panic = "abort"

0 commit comments

Comments
 (0)