Skip to content

Commit 0b2b800

Browse files
authored
Don't look for old RUSTC_DEBUGINFO vars (#313)
1 parent 611a766 commit 0b2b800

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

crates/backtrace-sys/build.rs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -89,14 +89,6 @@ fn main() {
8989
build.define("_GNU_SOURCE", "1");
9090
build.define("_LARGE_FILES", "1");
9191

92-
// When we're built as part of the Rust compiler, this is used to enable
93-
// debug information in libbacktrace itself.
94-
if cfg!(feature = "rustc-dep-of-std") {
95-
let any_debug = env::var("RUSTC_DEBUGINFO").unwrap_or_default() == "true"
96-
|| env::var("RUSTC_DEBUGINFO_LINES").unwrap_or_default() == "true";
97-
build.debug(any_debug);
98-
}
99-
10092
let syms = [
10193
"backtrace_full",
10294
"backtrace_dwarf_add",

0 commit comments

Comments
 (0)