summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/rust/files/hardcodepaths.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/rust/files/hardcodepaths.patch')
-rw-r--r--meta/recipes-devtools/rust/files/hardcodepaths.patch12
1 files changed, 0 insertions, 12 deletions
diff --git a/meta/recipes-devtools/rust/files/hardcodepaths.patch b/meta/recipes-devtools/rust/files/hardcodepaths.patch
index 178f354cf8..cb99e8b011 100644
--- a/meta/recipes-devtools/rust/files/hardcodepaths.patch
+++ b/meta/recipes-devtools/rust/files/hardcodepaths.patch
@@ -5,18 +5,6 @@ to resolve these issues properly upstream.
5Upstream-Status: Inappropriate [patches need rework] 5Upstream-Status: Inappropriate [patches need rework]
6Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> 6Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 7
8Index: rustc-1.66.0-src/src/tools/clippy/src/driver.rs
9===================================================================
10--- rustc-1.66.0-src.orig/src/tools/clippy/src/driver.rs
11+++ rustc-1.66.0-src/src/tools/clippy/src/driver.rs
12@@ -259,7 +259,6 @@ pub fn main() {
13 .and_then(|out| String::from_utf8(out.stdout).ok())
14 .map(|s| PathBuf::from(s.trim()))
15 })
16- .or_else(|| option_env!("SYSROOT").map(PathBuf::from))
17 .or_else(|| {
18 let home = option_env!("RUSTUP_HOME")
19 .or(option_env!("MULTIRUST_HOME"))
20Index: rustc-1.66.0-src/compiler/rustc_codegen_llvm/src/context.rs 8Index: rustc-1.66.0-src/compiler/rustc_codegen_llvm/src/context.rs
21=================================================================== 9===================================================================
22--- rustc-1.66.0-src.orig/compiler/rustc_codegen_llvm/src/context.rs 10--- rustc-1.66.0-src.orig/compiler/rustc_codegen_llvm/src/context.rs