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
The CARGO_TARGET_DIR env variable can be set to override the directory where cargo should place the compilation artifacts (i.e. the target folder).
Setting this env variable can be useful on CI to work around disk space limitations. For example, the GitHub actions Windows CI runners have more disk space available on C: than D:, so you can move the target folder to the C: drive to avoid disk space errors on larger projects.
Unfortunately, the rust-cache action does not consider the CARGO_TARGET_DIR env variable and continues to cache a local target directory, which is now empty.
The text was updated successfully, but these errors were encountered:
The
CARGO_TARGET_DIR
env variable can be set to override the directory wherecargo
should place the compilation artifacts (i.e. thetarget
folder).Setting this env variable can be useful on CI to work around disk space limitations. For example, the GitHub actions Windows CI runners have more disk space available on
C:
thanD:
, so you can move thetarget
folder to theC:
drive to avoid disk space errors on larger projects.Unfortunately, the
rust-cache
action does not consider theCARGO_TARGET_DIR
env variable and continues to cache a localtarget
directory, which is now empty.The text was updated successfully, but these errors were encountered: