Downgrade rust-nightly to 2025-09-23

2025-09-24 and later have a +25% (141KB) binary size regression

This reverts commit 9a2c0d7121.
This commit is contained in:
FooIbar committed 2025-10-02 15:40:17 +08:00
1 parent 9a2c0d7121
commit 085e0938cb
2 files changed
+2 -3

No files matched your search

+1 -2
View File
@@ -143,9 +143,8 @@ corrosion_import_crate(
MANIFEST_PATH ../rust/Cargo.toml
LOCKED
FEATURES $<IF:$<VERSION_GREATER_EQUAL:${ANDROID_NATIVE_API_LEVEL},26>,android-26,android>
FLAGS $<$<NOT:$<CONFIG:Debug>>:-Z build-std=std,panic_abort>
FLAGS $<$<NOT:$<CONFIG:Debug>>:-Z build-std=std,panic_abort -Z build-std-features=panic_immediate_abort>
)
corrosion_add_target_rustflags(ehviewer_rust $<$<NOT:$<CONFIG:Debug>>:-Z unstable-options -C panic=immediate-abort>)
corrosion_link_libraries(ehviewer_rust android jnigraphics log webp webpdemux)
# Build and link our app's native lib
+1 -1
View File
@@ -1,5 +1,5 @@
[toolchain]
channel = "nightly-2025-10-01"
channel = "nightly-2025-09-23"
components = ["rustfmt", "clippy", "rust-src"]
targets = ["aarch64-linux-android", "x86_64-linux-android"]
profile = "minimal"