mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-05-01 15:04:25 +02:00
Minor changes
[skip ci]
This commit is contained in:
parent
1e3edb8883
commit
a396abf565
5
build.py
5
build.py
@ -505,9 +505,10 @@ 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
|
||||
cmds.append("--target")
|
||||
cmds.append(triple)
|
||||
run_cargo(cmds)
|
||||
run_cargo(cmds + ["--release"])
|
||||
os.chdir(Path("..", ".."))
|
||||
|
@ -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