New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Should crate set PATH=lib_dir on Windows? #354
Comments
Hi Maxim, thanks for the report. There's a proposal about setting env vars in #345. I guess that would do for this case? |
It seems #345 talks about environment during crate building, while here we need an environment to be used after the build (if this difference matters). May be to be emitted with |
Yup, that should be emitted by At present we don't distinguish building and running contexts; neither testing/releasing. I guess that's something that may be necessary eventually. |
So, each crate, that provides DLL-s on Windows should export |
Yes. You can set paths relative to your crate directory by using Furthermore, in the master branch you can use I'm closing this one now as #452 implemented the required functionality for this to work. |
I've tried to use Matreshka library with
alire
onmsys2
Windows shell. It seems it works fine, but compiled test executable is unable to file matreshka *.DLL's.So, my question is: Should
matreshka
crate export PATH environment on windows or we could invent something inalire
to deal with this common Windows specific problem?The text was updated successfully, but these errors were encountered: