[Bug] aptos-cached-packages
writes to cargo home if you use it in your dependencies tree
#12664
Labels
bug
Something isn't working
馃悰 Bug:
aptos-cached-packages
writes to cargo home if you use it in your dependencies treeRight now during build of move packages build directory is created inside of its sources. Imagine adding
aptos-cached-packages
as your dependency - it ends up modifying cloned sources from git.This build workflow is not compliant with Cargo. Quoting cargo book:
To reproduce
Create new package and add dependency to
Cargo.toml
:And run
cargo build
.Expected Behavior
Use
OUT_DIR
for all move packages build artifacts and build files.System information
Please complete the following information:
aptos-cli-v3.0.1
but applies to latterAdditional context
The text was updated successfully, but these errors were encountered: