Skip to content

Commit 0c10f08

Browse files
committed
Rust: set RUST_BACKTRACE=1
1 parent 796da12 commit 0c10f08

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

rust/tools/autobuild.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#!/bin/bash
22

3+
export RUST_BACKTRACE=1
34
exec "${CODEQL_DIST}/codeql" database index-files \
45
--working-dir=. --language=rust --include-extension=.rs \
56
"${CODEQL_EXTRACTOR_RUST_WIP_DATABASE}"

rust/tools/index-files.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@
22

33
set -eu
44

5+
export RUST_BACKTRACE=1
56
exec "$CODEQL_EXTRACTOR_RUST_ROOT/tools/$CODEQL_PLATFORM/extractor" @"$1"

0 commit comments

Comments
 (0)