Commit 67da4c87 authored by Mygod's avatar Mygod

Enable LTO

parent 6d843fd3
......@@ -53,8 +53,7 @@ cargo {
"local-dns-relay"))
}
exec = { spec, toolchain ->
spec.environment("RUSTFLAGS",
"-C lto=no -C link-arg=-o -C link-arg=target/${toolchain.target}/$profile/lib$libname.so")
spec.environment("RUSTFLAGS", "-C link-arg=-o -C link-arg=target/${toolchain.target}/$profile/lib$libname.so")
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment