fix(ci): Fix linking on Linux

This commit is contained in:
Lucas Schwiderski 2023-03-23 15:32:33 +01:00
parent e2a285a739
commit a0166f07ff
Signed by: lucas
GPG key ID: AA12679AAA6DF4D8
2 changed files with 7 additions and 1 deletions

View file

@ -12,4 +12,10 @@ members = [
[profile.release]
strip = "debuginfo"
# The MSVC toolchain cannot handle LTO properly. Some symbol related to
# panic unwind would always be missing.
# So we use a separate profile for when we can compile with LTO.
[profile.release-lto]
inherits = "release"
lto = true

@ -1 +1 @@
Subproject commit 9ab05ce18cc35b3235b0cc7665d6e860193c9b11
Subproject commit 18797c4d2a53834210fd096dd39195ce7f2bce21