You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As noted in the docs, dir symlinks require admin privilege., but it's not clear that xbuild requires admin rights for running. If it's not desired to have xbuild run as admin (which I assume it isn't), maybe there should be a fallback for if sym link creation fails?
The text was updated successfully, but these errors were encountered:
It seems that when attempting to build with gradle on Windows, the creation of a symlink can fail due to lack of privilege.
(Note that these errors are quite hard to find, it would probably help to annote a lot of the system calls with
context
)It turns out the culprit is this line in
gradle\mod.rs
, when packaging the specified assets from the manifest:As noted in the docs, dir symlinks require admin privilege., but it's not clear that xbuild requires admin rights for running. If it's not desired to have xbuild run as admin (which I assume it isn't), maybe there should be a fallback for if sym link creation fails?
The text was updated successfully, but these errors were encountered: