Skip to content

Commit a8cd084

Browse files
authored
feat: Enables rust backtrace for earthly rust builder (#289)
* add panics test * enables rust backtrace * enable full backtrace * remove failed test
1 parent b1b9a52 commit a8cd084

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

earthly/rust/Earthfile

+3
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ rust-base:
3333

3434
WORKDIR /root
3535

36+
# Enables rust backtrace when something panics
37+
ENV RUST_BACKTRACE=full
38+
3639
# Install necessary packages
3740
# Expand this list as needed, rather than adding more tools in later containers.
3841
#

0 commit comments

Comments
 (0)