Files
scylladb/rust/Cargo.toml
Kefu Chai 9f0b60c7a0 rust: disable incremental build for release build
so that the release build is reproducible. a reproduciable helps
developers to perform postmortem debugging.

Fixes #19225
Signed-off-by: Kefu Chai <kefu.chai@scylladb.com>

Closes scylladb/scylladb#19374
2024-06-20 12:01:14 +03:00

43 lines
888 B
TOML

[package]
name = "rust_combined"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
inc = { path = "inc", version = "0.1.0" }
wasmtime_bindings = { path = "wasmtime_bindings", version = "0.1.0" }
[lib]
crate-type = ["staticlib"]
# The profiles below are Scylla specific. The cargo profile "rust-xyz" should
# be used together with the ninja "xyz" mode.
[profile.rust-dev]
inherits = "dev"
opt-level = 2
debug = false
overflow-checks = false
debug-assertions = false
strip = "symbols"
[profile.rust-debug]
inherits = "dev"
opt-level = 1
incremental = false
[profile.rust-sanitize]
inherits = "dev"
opt-level = "s"
incremental = false
[profile.rust-release]
inherits = "release"
debug = true
incremental = false
[profile.rust-coverage]
inherits = "dev"
opt-level = 1
incremental = false