Closed charliermarsh closed 3 months ago
Does it work with v0.0.20?
Just tried it, works with v0.0.20 but not v0.0.21 (exit code: 0xc0000139, STATUS_ENTRYPOINT_NOT_FOUND)
Maybe related https://github.com/microsoft/windows-rs/issues/1294?
Thank you so much @samypr100.
@samypr100 not related to https://github.com/microsoft/windows-rs/issues/1294, it seems to be related to raw-dylib linking, which I enabled by default.
Despite raw-dylib
being stabilized, I'm still finding some hiccups here and there... so I just pushed a commit to make raw-dylib
opt-in through a Cargo feature. So, in order to enable it, now you need to be explicit:
[dependencies]
winsafe = { version = "0.0.21", features = ["raw-dylib"] }
In your case, just don't use raw-dylib
. Does it work now?
Thanks, just tried winsafe = { git = "https://github.com/rodrigocfd/winsafe", rev = "37b04725d8c68eec735ca6ab44a4eb6ebfb75368", features = ["kernel"] }
and it worked.
To verify, once I enabled "raw-dylib"
via features = ["kernel", "raw-dylib"]
it fails.
Thanks for the feedback.
Version 0.0.22 is likely to be out in August 1st.
🙏 Thank you both!
We use winsafe in uv, and saw a regression when upgrading from
v0.0.19
tov0.0.21
whereby our executable is erroring immediately on startup, but only on the i686 build.Here's the successful
v0.0.19
build: https://github.com/astral-sh/uv/actions/runs/10014237587/job/27683558577.And the failing
v0.0.21
build: https://github.com/astral-sh/uv/actions/runs/10015576654/job/27687218123.Unfortunately, the only output there is:
Error: Process completed with exit code 127
. I don't know much more right now and haven't compiled an MRE but thought I would share what I have in case it rings any bells.Thanks for your work!