Set overflow checks to 'false' for release builds in order to bandaid fix recent master error

This commit is contained in:
Monty Marz 2019-11-28 13:32:38 +00:00
parent d374e8e673
commit d0b7891a34
3 changed files with 6 additions and 6 deletions

View File

@ -14,7 +14,7 @@ members = [
# default profile for devs, fast to compile, okay enough to run, no debug information
[profile.dev]
opt-level = 2
overflow-checks = false
overflow-checks = true
debug-assertions = true
panic = "abort"
debug = false
@ -46,10 +46,10 @@ debug = true
# this profil is used for veloren releases, compile time doesn't matter
# we need stacktraces, light debug information, as much checks as possible
# i would like to put it in a seperate `official_release` target, but that doesnt share caches with `cargo test` and `cargo bench`
# I would like to put it in a seperate `official_release` target, but that doesnt share caches with `cargo test` and `cargo bench`
[profile.release]
opt-level = 3
overflow-checks = true
overflow-checks = false
debug-assertions = false
lto = true
debug = false

Binary file not shown.

View File

@ -59,7 +59,6 @@ image_ids! {
// MiniMap
mmap_frame: "voxygen.element.frames.mmap",
mmap_frame_closed: "voxygen.element.frames.mmap_closed",
indicator_mmap: "voxygen.element.buttons.indicator_mmap",
// Missing: Buff Frame Animation .gif ?! we could do animation in ui.maintain, or in shader?
window_frame: "voxygen.element.frames.window2",
@ -122,6 +121,7 @@ image_ids! {
// Map
map_indicator: "voxygen.element.buttons.map_indicator",
indicator_mmap: "voxygen.element.buttons.indicator_mmap",
// Crosshair