[fractal/fractal-next] Set RUST_BACKTRACE=1 at runtime using manifest



commit 7eb6c1f8b07f8fc44eb6ba574e28c034e46b4cb3
Author: enterprisey <59171-enterprisey users noreply gitlab gnome org>
Date:   Thu Aug 5 09:46:12 2021 +0000

    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 4184959a..4301dd19 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" : [
         {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]