Skip to content

Commit f3ccc01

Browse files
committed
Always enable backtracing.
1 parent a1714e1 commit f3ccc01

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

proto/prost/private/protoc_wrapper.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -462,6 +462,9 @@ impl Args {
462462
}
463463

464464
fn main() {
465+
// Always enable backtraces for the protoc wrapper.
466+
env::set_var("RUST_BACKTRACE", "1");
467+
465468
let Args {
466469
protoc,
467470
out_dir,

0 commit comments

Comments
 (0)