diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-07 05:50:11 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-07 05:50:11 +0000 |
commit | 41f4526558b3ce77bfc7a4ac743e39d17b91f2a4 (patch) | |
tree | cf3238b3a0ba7664b03012381ad2d3c43709b918 /debian/patches/d-bootstrap-custom-debuginfo-path.patch | |
parent | Merging upstream version 1.75.0+dfsg1. (diff) | |
download | rustc-41f4526558b3ce77bfc7a4ac743e39d17b91f2a4.tar.xz rustc-41f4526558b3ce77bfc7a4ac743e39d17b91f2a4.zip |
Merging debian version 1.75.0+dfsg1-3.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/d-bootstrap-custom-debuginfo-path.patch')
-rw-r--r-- | debian/patches/d-bootstrap-custom-debuginfo-path.patch | 24 |
1 files changed, 19 insertions, 5 deletions
diff --git a/debian/patches/d-bootstrap-custom-debuginfo-path.patch b/debian/patches/d-bootstrap-custom-debuginfo-path.patch index 39f246be1..581c83e83 100644 --- a/debian/patches/d-bootstrap-custom-debuginfo-path.patch +++ b/debian/patches/d-bootstrap-custom-debuginfo-path.patch @@ -4,15 +4,15 @@ Subject: d-bootstrap-custom-debuginfo-path =================================================================== --- - src/bootstrap/lib.rs | 5 ++--- + src/bootstrap/src/lib.rs | 5 ++--- src/test/codegen/remap_path_prefix/issue-73167-remap-std.rs | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) -Index: rust/src/bootstrap/lib.rs +Index: rust/src/bootstrap/src/lib.rs =================================================================== ---- rust.orig/src/bootstrap/lib.rs -+++ rust/src/bootstrap/lib.rs -@@ -1145,10 +1145,9 @@ impl Build { +--- rust.orig/src/bootstrap/src/lib.rs ++++ rust/src/bootstrap/src/lib.rs +@@ -1163,10 +1163,9 @@ impl Build { match which { GitRepo::Rustc => { @@ -38,3 +38,17 @@ Index: rust/tests/codegen/remap_path_prefix/issue-73167-remap-std.rs fn main() { std::thread::spawn(|| { println!("hello"); +Index: rust/src/bootstrap/src/core/builder.rs +=================================================================== +--- rust.orig/src/bootstrap/src/core/builder.rs ++++ rust/src/bootstrap/src/core/builder.rs +@@ -1775,7 +1775,8 @@ impl<'a> Builder<'a> { + cargo.env("CFG_VIRTUAL_RUST_SOURCE_BASE_DIR", map_to); + } + +- if self.config.rust_remap_debuginfo { ++ // Debian: this breaks with our vendored sources! ++ if false && self.config.rust_remap_debuginfo { + // FIXME: handle vendored sources + let registry_src = t!(home::cargo_home()).join("registry").join("src"); + let mut env_var = OsString::new(); |