Add debug line tables and avoid building unwinding landing pads in release builds

This commit is contained in:
Imbris 2021-06-15 01:04:42 -04:00
parent 109d87bf81
commit e5f23eb41a
3 changed files with 4 additions and 2 deletions

View File

@ -13,7 +13,7 @@ variables:
# https://docs.gitlab.com/ee/ci/yaml/#shallow-cloning
GIT_DEPTH: 3
GIT_CLEAN_FLAGS: -f
CACHE_IMAGE_TAG: 55629eab
CACHE_IMAGE_TAG: 8490f4b9
default:
# https://docs.gitlab.com/ee/ci/pipelines/settings.html#auto-cancel-pending-pipelines

View File

@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added
- Added a skill tree for mining, which gains xp from mining ores and gems.
- Added debug line info to release builds, enhancing the usefulness of panic backtraces
### Changed
- Entity-entity pushback is no longer applied in forced movement states like rolling and leaping.

View File

@ -86,7 +86,8 @@ opt-level = 3
overflow-checks = false
debug-assertions = false
lto = true
debug = false
debug = 1 # line tables so we can have useful backtraces
panic = "abort" # don't need unwinding so we can skip including the landing pads for that
# used for cargo bench
[profile.bench]