mirror of
https://github.com/IntQuant/noita_entangled_worlds.git
synced 2025-10-19 15:13:16 +00:00
Automated commit: v0.22.4
This commit is contained in:
parent
8803045678
commit
bc8bdcafef
2 changed files with 4 additions and 3 deletions
|
@ -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"
|
||||||
|
|
|
@ -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...")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue