Conversation
Firestar99
left a comment
There was a problem hiding this comment.
Can confirm that the ash and wgpu examples fail to build on windows, when build in debug mode (eg, --release works on master), and this PR fixes that.
CI only checks the examples and builds the example shaders, never actually fully builds the examples. @LegNeato should we cahnge our CI to not run into this again?
(I didn't actually know you could use rust's lld linker for windows as well)
I will confirm this shortly.
I can't take the credit, I found it some years back in the Bevy community. |
|
@Firestar99 I think we had a other issue around here to make CI do debug as well. Only doing ---release has caused issues in the past: #40 |
both ash and wgpu builds (debug) fail without the |
Windows by default will use the
msvclinker, which maxes out on 2^16-1 symbols, which the ash and wgpu examples in debug mode easily exceed.Solution: rust-lld.exe, which should be available already as it's in the llvm-tools that the
rust-toolchain.tomlwill be ensuring is installed anyway.