Disable LTO (#61)

to work around rust-lang/rust#90357
This commit is contained in:
Jorge Aparicio
2022-01-05 12:36:38 +01:00
committed by GitHub
parent 47277bbf9d
commit b4327d0259
+6 -2
View File
@@ -49,7 +49,10 @@ codegen-units = 1
debug = 2 debug = 2
debug-assertions = false # <- debug-assertions = false # <-
incremental = false incremental = false
lto = 'fat' # NOTE disabled to work around issue rust-lang/rust#90357
# the bug results in log messages not having location information
# (the line printed below the log message that contains the file-line location)
# lto = 'fat'
opt-level = 3 # <- opt-level = 3 # <-
overflow-checks = false # <- overflow-checks = false # <-
@@ -59,7 +62,8 @@ codegen-units = 1
debug = 2 debug = 2
debug-assertions = false # <- debug-assertions = false # <-
incremental = false incremental = false
lto = 'fat' # see comment in the profile.release section
lto = 'false'
opt-level = 3 # <- opt-level = 3 # <-
overflow-checks = false # <- overflow-checks = false # <-