ValeLang / Vale

Compiler for the Vale programming language - http://vale.dev/
https://vale.dev/
Apache License 2.0
1.77k stars 53 forks source link

build fails when building from a different filesystem that root #584

Open Mai-Lapyst opened 1 year ago

Mai-Lapyst commented 1 year ago

When building from a location that is located on a different filesystem/device than the root filesystem, by for example moving your home directory to an LVM, building vale fails with following error:

Compiling Coordinator...
Moving existing output directory build to /tmp/old_output_dir_13050379290324915.
Rename failed! : Invalid cross-device link
Coordinator build failed.
Mai-Lapyst commented 1 year ago

Seems to be a issue with the bootstraping compiler 0.2.0.23.

Workaround for now seems to be to ensure that the folder Coordinator\build dosnt exists before building.