Skip to content

Commit 4fe06c1

Browse files
committed
Fix Windows MSVC CI
Pass the `/OPT:NOICF` flag to the linker to ensure that all functions don't get eliminated (somethign we don't want in this scenario)
1 parent d116aea commit 4fe06c1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.appveyor.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
environment:
2+
# We don't want to do identical comdat folding as it messes up the ability to
3+
# generate lossless backtraces in some cases. This is enabled by rustc by
4+
# default so pass a flag to disable it to ensure our tests work ok.
5+
RUSTFLAGS: -Clink-args=/OPT:NOICF
6+
27
matrix:
38
- TARGET: x86_64-pc-windows-msvc
49

0 commit comments

Comments
 (0)