From 7eb6c1f8b07f8fc44eb6ba574e28c034e46b4cb3 Mon Sep 17 00:00:00 2001 From: enterprisey <59171-enterprisey@users.noreply.gitlab.gnome.org> Date: Thu, 5 Aug 2021 09:46:12 +0000 Subject: [PATCH] Set RUST_BACKTRACE=1 at runtime using manifest Flatpak manifest previously set RUST_BACKTRACE=1 during the build only, not runtime, using the "env" build option. However, the intention was probably to set RUST_BACKTRACE=1 at runtime, not during the build. --- build-aux/org.gnome.FractalNext.Devel.json | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/build-aux/org.gnome.FractalNext.Devel.json b/build-aux/org.gnome.FractalNext.Devel.json index 4184959ae..4301dd19c 100644 --- a/build-aux/org.gnome.FractalNext.Devel.json +++ b/build-aux/org.gnome.FractalNext.Devel.json @@ -15,7 +15,8 @@ "--talk-name=org.a11y.Bus", "--talk-name=org.freedesktop.secrets", "--env=RUST_LOG=fractal=debug", - "--env=G_MESSAGES_DEBUG=none" + "--env=G_MESSAGES_DEBUG=none", + "--env=RUST_BACKTRACE=1" ], "build-options" : { "append-path" : "/usr/lib/sdk/rust-stable/bin", @@ -25,10 +26,7 @@ "test-args" : [ "--socket=x11", "--share=network" - ], - "env" : { - "RUST_BACKTRACE" : "1" - } + ] }, "modules" : [ { -- GitLab