-
Notifications
You must be signed in to change notification settings - Fork 73
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
Building the Rust library sometimes fails #7
Comments
I think the OS is free to remove stuff in Perhaps we should use something in |
I'm not really against this, although I don't love putting stuff in dot-directories either. @Dexterp37, can you see if @mdboom's theory is correct by using the different ways to set the toolchain directory listed around:
|
@ncalexan yes, the theory seems correct, the failures haven't shown up since I set |
Yeah, I confirm the same. I think there are two obvious choices for a better default, based on what other plugins I've seen do. If sharing these between projects is useful, it could use something under We went down a similar path making the Python environment "plugin" (it's not strictly a plugin) for Glean, and ultimately landed on using |
Thanks for the experience from the trenches. I can't make this happen myself, but I'm totally happy to take a patch that does it. Thanks, Glean team! |
In my project, the first time I build it in the morning, building fails when invoking the Gradle task
:project:cargoBuildArm
(I'm on Windows). That's the thrown exception:Looking a bit closer at Android Studio's errors, I can also see:
In order to make the build work again, I need to manually go to
%Temp%
and delete therust-android-ndk-toolchains
directory. After that, it rebuilds the directory and everything builds just fine.The text was updated successfully, but these errors were encountered: