From d58393a1e590d147714cf03c87f7a024b1d124da Mon Sep 17 00:00:00 2001 From: whitequark Date: Fri, 26 Jan 2018 23:01:24 +0000 Subject: [PATCH] runtime: build with -Cpanic=unwind. This is required for backtraces to function. I'm not sure how it turned out that master had -Cpanic=abort. --- artiq/firmware/runtime/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/artiq/firmware/runtime/Makefile b/artiq/firmware/runtime/Makefile index a98ccc312..5fa6dbdf8 100644 --- a/artiq/firmware/runtime/Makefile +++ b/artiq/firmware/runtime/Makefile @@ -8,7 +8,7 @@ CFLAGS += \ LDFLAGS += \ -L../libunwind -RUSTFLAGS += -Cpanic=abort +RUSTFLAGS += -Cpanic=unwind all:: runtime.bin runtime.fbi