`CaptureStackBackTrace` does not use debug symbols, so on 32-bit Windows it won't be able to traverse FPO'd stack frames.  `StackWalk64` will probably give you better results, but only if module has .pdb symbols.

Since Rust binaries use DWARF, I am thinking that libunwind-based code might be a better choice overall, as it should work even with release builds.