From ddd66219c78c8ca61f0d96bc3f69e5618e0720b7 Mon Sep 17 00:00:00 2001
From: Samuel Bronson <naesten@gmail.com>
Date: Tue, 29 Nov 2022 18:08:33 -0500
Subject: [PATCH] Update rust.default.properties (#4053)

`rustfilt` ended up at a different path for me, and the "absolute path as compiler name" compatibility kludge seems not to work anymore.

(Also, this way it matters less where rustc is installed.)
---
 etc/config/rust.defaults.properties | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/etc/config/rust.defaults.properties b/etc/config/rust.defaults.properties
index 6cb521b46..e001e3ea9 100644
--- a/etc/config/rust.defaults.properties
+++ b/etc/config/rust.defaults.properties
@@ -1,7 +1,7 @@
-compilers=/usr/local/bin/rustc
+compilers=rustc
 supportsBinary=true
 compilerType=rust
-demangler=${ceToolsPath}/rust/bin/rustfilt
+demangler=${ceToolsPath}/rust/target/release/rustfilt
 objdumper=objdump
 stubRe=\bmain\b
 stubText=pub fn main() {/*stub provided by Compiler Explorer*/}
-- 
GitLab