# This config is used for the CI workflow.
# Feel free to also use it locally for fast builds if you have the required setup!

[unstable]
codegen-backend = true

[profile.dev]
codegen-backend = "cranelift"

[profile.dev.package."*"]
codegen-backend = "cranelift"

[profile.release]
codegen-backend = "llvm"

[profile.test.package."*"]
opt-level = 1

[target.x86_64-unknown-linux-gnu]
linker = "clang"
rustflags = [
    "-Dwarnings",
    "-Cdebuginfo=line-tables-only",
    "-Clink-arg=--ld-path=wild",
    "-Zshare-generics=y",
    "-Zthreads=0",
]
rustdocflags = [
    "-Dwarnings",
    "-Clink-arg=--ld-path=wild",
    "-Zshare-generics=y",
    "-Zthreads=0",
]
