Revert "Use to the new panic-immediate-abort cargo feature"
This reverts commit cf10e2ff6d.
Reason for revert: Incompatible with renovate
This commit is contained in:
1 parent
4abb2ab0ce
commit
b496e18e7a
2 files changed
+2
-3
No files matched your search
@@ -145,6 +145,7 @@ corrosion_import_crate(
|
||||
FEATURES $<IF:$<VERSION_GREATER_EQUAL:${ANDROID_NATIVE_API_LEVEL},26>,android-26,android>
|
||||
FLAGS $<$<NOT:$<CONFIG:Debug>>:-Z build-std -Z build-std-features=>
|
||||
)
|
||||
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,5 +1,3 @@
|
||||
cargo-features = ["panic-immediate-abort"]
|
||||
|
||||
[package]
|
||||
name = "ehviewer_rust"
|
||||
version = "0.0.0"
|
||||
@@ -36,7 +34,7 @@ reqwest = "0.12"
|
||||
tokio = { version = "1", features = ["macros"] }
|
||||
|
||||
[profile.release]
|
||||
panic = "immediate-abort"
|
||||
panic = "abort"
|
||||
strip = true
|
||||
lto = true
|
||||
codegen-units = 1
|
||||
Reference in new issue
Block a user