diff --git a/Cargo.toml b/Cargo.toml index ca36ee2..3e37b37 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,7 +4,13 @@ version = "0.1.0" edition = "2021" [profile.release] -debug=true +# Emit only the line info tables, not full debug info, in release builds, to +# substantially reduce the size of the debug info. Line info tables are enough +# to symbolicate a backtrace, but not enough to use a debugger interactively. +# This seems to be the right tradeoff for release builds: it's unlikely we're +# going to get interactive access to a debugger in production installations, but +# we still want useful crash reports. +debug = 1 [lib] name = "vrl_bridge"