From 64f370f7dbad2895c0e3f61564e802fcaee1f579 Mon Sep 17 00:00:00 2001 From: IQuant Date: Sat, 12 Oct 2024 18:09:40 +0300 Subject: [PATCH] Automated commit: v0.26.2 --- noita-proxy/Cargo.lock | 2 +- scripts/prepare_release.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/noita-proxy/Cargo.lock b/noita-proxy/Cargo.lock index bbc03a80..198e4c21 100644 --- a/noita-proxy/Cargo.lock +++ b/noita-proxy/Cargo.lock @@ -1949,7 +1949,7 @@ checksum = "2bf50223579dc7cdcfb3bfcacf7069ff68243f8c363f62ffa99cf000a6b9c451" [[package]] name = "noita-proxy" -version = "0.26.1" +version = "0.26.2" dependencies = [ "argh", "bincode", diff --git a/scripts/prepare_release.py b/scripts/prepare_release.py index 67763456..2e78fd3f 100644 --- a/scripts/prepare_release.py +++ b/scripts/prepare_release.py @@ -69,7 +69,7 @@ def make_release_assets(): os.chdir("noita-proxy") - subprocess.run(["cross", "build", "--release", "--target", "x86_64-unknown-linux-gnu"], check=True) + subprocess.run(["cross", "build", "--profile", "release-lto", "--target", "x86_64-unknown-linux-gnu"], check=True) subprocess.run(["cargo", "build", "--release", "--target", "x86_64-pc-windows-gnu"], check=True) os.chdir("..") @@ -94,7 +94,7 @@ def make_release_assets(): print("Writing linux release...") with ZipFile("target/noita-proxy-linux.zip", "w") as release: - release.write("noita-proxy/target/x86_64-unknown-linux-gnu/release/noita-proxy", arcname="noita_proxy.x86_64", compress_type=COMPRESS_TYPE, compresslevel=COMPRESS_LEVEL) + release.write("noita-proxy/target/x86_64-unknown-linux-gnu/release-lto/noita-proxy", arcname="noita_proxy.x86_64", compress_type=COMPRESS_TYPE, compresslevel=COMPRESS_LEVEL) release.write("redist/libsteam_api.so", arcname="libsteam_api.so", compress_type=COMPRESS_TYPE, compresslevel=COMPRESS_LEVEL) print("Writing mod release...")