[gnome-builder] cargo: remove duplicate error format setting



commit 40e7aa9669101dfdce5912b38b872411ca45c6b0
Author: Christian Hergert <chergert redhat com>
Date:   Mon Apr 1 08:28:22 2019 -0700

    cargo: remove duplicate error format setting
    
    We handle this with RUSTFLAGS now by default, allowing the user
    to override the flags if necessary.
    
    Fixes #867

 src/plugins/cargo/cargo_plugin.py | 8 --------
 1 file changed, 8 deletions(-)
---
diff --git a/src/plugins/cargo/cargo_plugin.py b/src/plugins/cargo/cargo_plugin.py
index 61f5eb5cd..342d43a04 100644
--- a/src/plugins/cargo/cargo_plugin.py
+++ b/src/plugins/cargo/cargo_plugin.py
@@ -141,14 +141,6 @@ class CargoPipelineAddin(Ide.Object, Ide.PipelineAddin):
         if not config.props.debug:
             build_launcher.push_argv('--release')
 
-        build_launcher.push_argv('--')
-        build_launcher.push_argv('--error-format')
-        build_launcher.push_argv('short')
-
-        # Format is --remap-path-prefix from=to
-        build_launcher.push_argv('--remap-path-prefix')
-        build_launcher.push_argv('=' + pipeline.get_srcdir())
-
         clean_launcher = pipeline.create_launcher()
         clean_launcher.setenv('CARGO_TARGET_DIR', builddir, True)
         clean_launcher.push_argv(cargo)


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