mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-08-25 20:07:25 +00:00
Update ODNK requirement to r25.3
This commit is contained in:
@@ -1,4 +1,25 @@
|
||||
[build]
|
||||
# This is only used to make the IDE happy, the actual compilation will
|
||||
# have the target overriden by command-line
|
||||
# Choose arm64 as the default target to make the IDE happy.
|
||||
# The actual compilation will have the target overriden by command-line.
|
||||
target = "aarch64-linux-android"
|
||||
|
||||
[unstable]
|
||||
build-std = ["std", "panic_abort"]
|
||||
build-std-features = ["panic_immediate_abort"]
|
||||
profile-rustflags = true
|
||||
|
||||
# Workaround bug for undefined symbol errors that occur with the
|
||||
# combination of `-Zbuild-std`, `opt-level = "z"`, and `lto = true`.
|
||||
# compiler_builtins are expected to be built with special flags.
|
||||
# https://github.com/rust-lang/rust/issues/108853
|
||||
# https://github.com/rust-lang/wg-cargo-std-aware/issues/62
|
||||
|
||||
[profile.release.package.compiler_builtins]
|
||||
rustflags = ["-Zshare-generics=off"]
|
||||
overflow-checks = false
|
||||
debug-assertions = false
|
||||
|
||||
[profile.dev.package.compiler_builtins]
|
||||
rustflags = ["-Zshare-generics=off"]
|
||||
overflow-checks = false
|
||||
debug-assertions = false
|
||||
|
Reference in New Issue
Block a user