-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
cargo regression: cdylib output path changed #3674
Comments
Thanks for the report! Can you check beta/nightly to see if the bug is fixed there for you? |
I suspect this was fixed by #3478, but just want to confirm. Definitely an unintentional regression! |
yes cargo from
fix this bug for me, is it possible to backport bugfix to stable |
Ok, thanks for checking! It's certainly possible for us to make another point release (1.15.2) but it's unclear whether the issue is severe enough to do so. For now I believe that |
Actually, after I not found ".so" in usual place, I ran
So no, there is no |
Hm ok so the regression is worse than I thought :( I think a "fix" should be to avoid the use of workspaces, but that's obviously not exactly a great fix... |
At now, with |
I use:
Before that version cargo create cdylib in path like this:
target/release/libhelpers_py.so
at now it changed totarget/release/deps/libhelpers_py-4bae97ef34a93c7e.so
.The path is important for me, because of my two use cases:
.so
libraryin the same directory as python script, and this works like a charm,
I run
cargo build
and start python script nothing more,at now I have to recreate symlink after every new commit?
gradle
,run
cargo build --target=arm-linux-androideabi --release
and graboutput ".so" library, at now I have to write smart
gradle script
to listdirectory and find file by mask?
The text was updated successfully, but these errors were encountered: