mirror of
https://github.com/topjohnwu/Magisk.git
synced 2026-04-28 12:03:09 -07:00
Update to ONDK r29.4
This commit is contained in:
@@ -3,12 +3,19 @@
|
||||
# The actual compilation will have the target overriden by command-line.
|
||||
target = "aarch64-linux-android"
|
||||
# Enable cross language LTO, and explicitly set dwarf-version for ThinLTO
|
||||
rustflags = ["-Z", "dwarf-version=4", "-C", "linker-plugin-lto"]
|
||||
rustflags = [
|
||||
"-Z",
|
||||
"dwarf-version=4",
|
||||
"-C",
|
||||
"linker-plugin-lto",
|
||||
"-C",
|
||||
"force-unwind-tables=no",
|
||||
]
|
||||
target-dir = "../out/rust"
|
||||
|
||||
[unstable]
|
||||
build-std = ["std", "panic_abort"]
|
||||
build-std-features = ["panic_immediate_abort", "optimize_for_size"]
|
||||
build-std-features = ["optimize_for_size"]
|
||||
profile-rustflags = true
|
||||
|
||||
[profile.release]
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
cargo-features = ["panic-immediate-abort"]
|
||||
|
||||
[workspace]
|
||||
exclude = ["external"]
|
||||
members = ["base", "base/derive", "boot", "core", "init", "sepolicy"]
|
||||
@@ -59,12 +61,12 @@ unwrap_used = "deny"
|
||||
[profile.dev]
|
||||
opt-level = "z"
|
||||
lto = "thin"
|
||||
panic = "abort"
|
||||
panic = "immediate-abort"
|
||||
debug = "none"
|
||||
|
||||
[profile.release]
|
||||
opt-level = "z"
|
||||
lto = "fat"
|
||||
codegen-units = 1
|
||||
panic = "abort"
|
||||
panic = "immediate-abort"
|
||||
strip = true
|
||||
|
||||
Reference in New Issue
Block a user