On Mon, Sep 04, 2023 at 12:35:13PM +0000, Klemens Nanni wrote:
> 
> [...]
> 
> Does anyone know why 'make build' builds stuff fine, but then 'make fake'
> also builds stuff?

>From the output, it seems that it is running (again) severals kinds of 
>programs:

- build_scripts (build.rs machinery) : the script is run a second time (in case 
  something changed, and if it is the case it could rebuild things)
- potential macro stuff : but I don't really know how it is working

The 'cargo build' and the 'cargo install' invocation are very similar (but not 
exactly the same: 'cargo install' has additional --root="${PREFIX}" option).

As after 'make fake', doing a 'make clean=fake' and rerunning 'make fake' 
generate no build, I suppose the --root option change some elements and trigger 
some rebuild.

I am unsure we could do better here as 'cargo' doesn't fit in 
configure-build-fake steps.

Thanks.
-- 
Sebastien Marie

Reply via email to