@Chris Fallin Are you testing Windows locally, or just using CI?
Windows symlink support is guarded by a system-wide config flag which is off by default on most Windows desktop installations, but is on by default in CI
@Dan Gohman that would explain it -- I'm testing locally on "living room media PC with MinGW slapped on" which is definitely not CI-grade special config
/me will google how to enable this -- thanks!
That's probably it then. So yeah, we just need to disable those tests
It's called "Developer Mode" in the control panel, and it's somewhat invasive, so I think we'd prefer to just disable those tests on Windows for now than to require people to turn that on
ah, OK, that makes sense. For now I'll keep the shell-script exclusion but I suppose the proper fix is to add #[cfg(...)] directives in the test suite?
In cap-std's unit tests, we have a symlink_supported()
utility function which tests whether symlinks are supported and conditionally enables those tests, so another option is to port that to wasmtime.
Makes sense. I can create an issue to track this
But it's fine with me to just disable the tests for now
https://github.com/bytecodealliance/wasmtime/issues/2706
Last updated: Nov 22 2024 at 16:03 UTC