You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
578 B
TOML
35 lines
578 B
TOML
[unstable]
|
|
codegen-backend = true
|
|
|
|
[profile.dev]
|
|
codegen-backend = "cranelift"
|
|
opt-level = 1
|
|
|
|
[profile.dev.package."*"]
|
|
codegen-backend = "llvm"
|
|
opt-level = 3
|
|
|
|
[profile.release]
|
|
codegen-units = 1
|
|
opt-level = "z"
|
|
lto = "thin"
|
|
|
|
[profile.wasm-dev]
|
|
inherits = "dev"
|
|
codegen-backend = "llvm"
|
|
|
|
[profile.wasm-release]
|
|
inherits = "release"
|
|
opt-level = "s"
|
|
strip = "debuginfo"
|
|
|
|
[target.x86_64-unknown-linux-gnu]
|
|
linker = "clang"
|
|
rustflags = [
|
|
# (Nightly) Make the current crate share its generic instantiations
|
|
"-Zshare-generics=y",
|
|
# lld linker
|
|
"-C", "link-arg=-fuse-ld=lld"
|
|
]
|
|
|