tarpaulin icon indicating copy to clipboard operation
tarpaulin copied to clipboard

Windows support!

Open xd009642 opened this issue 5 years ago • 2 comments

So windows support will need some fiddling around with statemachine. Probably moving it into it's own module with a submodule for windows and linux. For the windows side of things this looks to be a good reference. https://msdn.microsoft.com/en-us/library/ms809754.aspx

Here are some things that will need moving around/changing

  • [ ] pdb parsing to get source code locations https://crates.io/crates/pdb
  • [ ] LLVM coverage https://github.com/xd009642/tarpaulin/issues/549
  • [ ] Optional: do the ptrace equivalent here are the unsafe bindings to the API https://microsoft.github.io/windows-docs-rs/doc/bindings/Windows/Win32/System/Diagnostics/Debug/index.html

xd009642 avatar Jul 17 '18 20:07 xd009642

https://docs.microsoft.com/en-us/windows/win32/debug/creating-a-basic-debugger https://www.codeproject.com/Articles/43682/Writing-a-basic-Windows-debugger

xd009642 avatar Jul 09 '20 19:07 xd009642

So anyone still interested go over to llvm coverage tracking issue and try it out https://github.com/xd009642/tarpaulin/issues/549 you can install from feature branch feat/llvm-profparser-integration and add --engine llvm to your tarpaulin args and it should hopefully work. If not please mention on the llvm tracking issue and if you can share the profraw file and the log output :grin:

xd009642 avatar Jun 27 '22 19:06 xd009642

So this is now merged and some point this week there shall be a new release on crates.io (probably tomorrow). closing this issue in favour of #549

xd009642 avatar Oct 06 '22 20:10 xd009642