retis-org / retis

Tracing packets in the Linux networking stack & friends
https://retis.readthedocs.io/en/stable/
100 stars 14 forks source link

Makefile: augment RUSTFLAGS globally in release #409

Closed atenart closed 4 months ago

atenart commented 4 months ago

Add the warnings flag to RUSTFLAGS globally in the release target to prevent targets depending on this one to build Retis again when executed.

For example make install was unconditionally rebuilding Retis even if a release build was done before, this was because the RUSTFLAGS differed between the targets. We now set it for all future targets, so the build states are consistent.