mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-04-29 22:14:27 +02:00
Minor changes
[skip ci]
This commit is contained in:
parent
1e3edb8883
commit
a396abf565
9
build.py
9
build.py
@ -505,11 +505,12 @@ def build_all():
|
||||
def clippy_cli():
|
||||
args.force_out = True
|
||||
os.chdir(Path("native", "src"))
|
||||
cmds = ["clippy", "--no-deps", "--target", ""]
|
||||
cmds = ["clippy", "--no-deps"]
|
||||
for triple in build_abis.values():
|
||||
cmds[3] = triple
|
||||
run_cargo(cmds)
|
||||
run_cargo(cmds + ["--release"])
|
||||
cmds.append("--target")
|
||||
cmds.append(triple)
|
||||
run_cargo(cmds)
|
||||
run_cargo(cmds + ["--release"])
|
||||
os.chdir(Path("..", ".."))
|
||||
|
||||
|
||||
|
@ -34,7 +34,7 @@ syn = "2"
|
||||
quote = "1"
|
||||
proc-macro2 = "1"
|
||||
argh = { version = "0.1.13", default-features = false }
|
||||
libz-rs-sys = { version = "0.4.2", default-features = false, features=["c-allocator"] }
|
||||
libz-rs-sys = { version = "0.4.2", default-features = false, features = ["c-allocator"] }
|
||||
libbz2-rs-sys = { version = "0.1.3", default-features = false, features = ["c-allocator"] }
|
||||
|
||||
# Pin version to prevent cargo update break builds
|
||||
@ -60,3 +60,4 @@ opt-level = "z"
|
||||
lto = "fat"
|
||||
codegen-units = 1
|
||||
panic = "abort"
|
||||
strip = false
|
||||
|
Loading…
x
Reference in New Issue
Block a user