tarpaulin
tarpaulin copied to clipboard
Windows support!
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
https://docs.microsoft.com/en-us/windows/win32/debug/creating-a-basic-debugger https://www.codeproject.com/Articles/43682/Writing-a-basic-Windows-debugger
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:
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