mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-01-05 09:17:41 +00:00
Remove rust workaround
This commit is contained in:
parent
df786eb2b6
commit
9c638cc463
@ -7,19 +7,3 @@ target = "aarch64-linux-android"
|
|||||||
build-std = ["std", "panic_abort"]
|
build-std = ["std", "panic_abort"]
|
||||||
build-std-features = ["panic_immediate_abort"]
|
build-std-features = ["panic_immediate_abort"]
|
||||||
profile-rustflags = true
|
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
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user