You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Test Windows configuration with Valgrind using Wine, or Winelib #8426
Valgrind does not run under Windows so there are two options for testing the Windows configuration of Rust with Valgrind: on a Valgrind supported platform; cross-compile to Windows, and then run the build using Wine, or compile under the Windows configuration using Winelib.
I'm not really sure which approach would be easiest. I have struggled for a while with both approaches. Personally, I think it is most logical to compile using Winelib though.
I would really appreciate if some who are more knowledgeable about the build system like @graydon, or @pnkfelix could give me some help with this.
Also, I do not know how best to expose these option to configuration.
@retep998 what do you think here? What's the current state of this, and shouldn't we be using some sort of windows-native tooling rather than valgrind?
This is a pretty ancient bug, and now that we have a ton of Windows automation set up, I doubt we're going to do this. We barely even run valgrind on Linux, much less OSX, much less Windows, so I don't think that this is particularly pressing.
Activity
emberian commentedon Dec 23, 2013
cc @klutzy @vadimcn @brson
Testing our memory-correctness on Windows seems pretty important to me. Nominating.
pnkfelix commentedon Jan 9, 2014
just a bug, denominating.
vadimcn commentedon Jan 9, 2014
cc #749
steveklabnik commentedon Sep 3, 2015
@retep998 what do you think here? What's the current state of this, and shouldn't we be using some sort of windows-native tooling rather than valgrind?
retep998 commentedon Sep 3, 2015
What Windows native tooling? The only thing I know of is LLVM's sanitizers.
Maybe there's something good on this list: https://en.wikipedia.org/wiki/Memory_debugger
steveklabnik commentedon Sep 3, 2015
Question answered :)
alexcrichton commentedon Aug 1, 2016
This is a pretty ancient bug, and now that we have a ton of Windows automation set up, I doubt we're going to do this. We barely even run valgrind on Linux, much less OSX, much less Windows, so I don't think that this is particularly pressing.
Merge rust-lang#8426