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 4c00e81..71c09b2 100644 --- a/Makefile +++ b/Makefile @@ -27,10 +27,9 @@ uninstall: $(RELEASE) clean: -rm -rf target -# Build and strip the release version +# Build the release version $(RELEASE): $(SOURCES) cargo build --release - strip $@ # Build the debug version $(DEBUG): $(SOURCES)