ffmpeg-dev-rs
ffmpeg-dev-rs copied to clipboard
No debug symbols in debug build
build.rs contains this snippet:
if is_debug_mode() && opt_level_eq(0) {
configure_flags.push("--disable-optimizations");
configure_flags.push("--disable-debug");
configure_flags.push("--disable-stripping");
}
This causes debug builds to explicitly request that debugging symbols not be built.
Maybe something like:
if is_debug_mode() && opt_level_eq(0) {
configure_flags.push("--disable-optimizations");
configure_flags.push("--disable-stripping");
configure_flags.push("--enable-debug");
}
else {
configure_flags.push("--disable-debug");
}
would be better.