diff --git a/.cargo/config b/.cargo/config new file mode 100644 index 0000000..919fe30 --- /dev/null +++ b/.cargo/config @@ -0,0 +1,2 @@ +[build] +rustflags = ["-C", "link-arg=-s"] diff --git a/Makefile b/Makefile index b06514b..34ebe6b 100644 --- a/Makefile +++ b/Makefile @@ -25,10 +25,9 @@ debug: $(PHETCH_DEBUG) clean: @rm -rf target -# Build and strip the release version +# Build the release version $(PHETCH_RELEASE): $(RSFILES) cargo build --release - strip $@ # Build the debug version $(PHETCH_DEBUG): $(RSFILES)