Automated commit: v0.22.4

This commit is contained in:
IQuant 2024-09-07 15:01:51 +03:00
parent 8803045678
commit bc8bdcafef
2 changed files with 4 additions and 3 deletions

View file

@ -57,7 +57,8 @@ opt-level = 1
[profile.release-lto] [profile.release-lto]
inherits = "release" inherits = "release"
lto = "thin" # Lto seems to be broken for some reason?
#lto = "thin"
[profile.release-debug] [profile.release-debug]
inherits = "release" inherits = "release"

View file

@ -72,7 +72,7 @@ def make_release_assets():
os.chdir("noita-proxy") os.chdir("noita-proxy")
subprocess.run(["cross", "build", "--profile", "release-lto", "--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", "--profile", "release", "--target", "x86_64-pc-windows-gnu"], check=True) subprocess.run(["cargo", "build", "--profile", "release-lto", "--target", "x86_64-pc-windows-gnu"], check=True)
os.chdir("..") os.chdir("..")
@ -90,7 +90,7 @@ def make_release_assets():
print("Writing win release...") print("Writing win release...")
with ZipFile("target/noita-proxy-win.zip", "w") as release: with ZipFile("target/noita-proxy-win.zip", "w") as release:
release.write("noita-proxy/target/x86_64-pc-windows-gnu/release/noita-proxy.exe", arcname="noita_proxy.exe", compress_type=COMPRESS_TYPE, compresslevel=COMPRESS_LEVEL) release.write("noita-proxy/target/x86_64-pc-windows-gnu/release-lto/noita-proxy.exe", arcname="noita_proxy.exe", compress_type=COMPRESS_TYPE, compresslevel=COMPRESS_LEVEL)
release.write("target/tmp/steam_api64.dll", arcname="steam_api64.dll", compress_type=COMPRESS_TYPE, compresslevel=COMPRESS_LEVEL) release.write("target/tmp/steam_api64.dll", arcname="steam_api64.dll", compress_type=COMPRESS_TYPE, compresslevel=COMPRESS_LEVEL)
print("Writing linux release...") print("Writing linux release...")