prisma-engines icon indicating copy to clipboard operation
prisma-engines copied to clipboard

cargo build makes a huge target folder

Open Ashilex opened this issue 1 year ago • 1 comments

Hi all. Trying to compile the engines for a raspberry pi model 2 B. When i do cargo build the process stops at a certain point because raspberry runs out of storage. target folder is 3gb more or less. I want to understand if that's supposed to be that bulky and if I can't get rid of some of its content in the end.

thanks

Ashilex avatar Jul 25 '23 13:07 Ashilex

Try adding

[profile.dev] # or [profile.release]
debug = false
panic = "abort"
opt-level = "s"
incremental = false

to the Cargo.toml in the root directory.

But Rust just creates huge target directories so it might not help much.

emi0x7d1 avatar Aug 18 '23 04:08 emi0x7d1