diff options
Diffstat (limited to 'community/rust/alpine-move-py-scripts-to-share.patch')
-rw-r--r-- | community/rust/alpine-move-py-scripts-to-share.patch | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/community/rust/alpine-move-py-scripts-to-share.patch b/community/rust/alpine-move-py-scripts-to-share.patch index 261e62a84a..44d3320b39 100644 --- a/community/rust/alpine-move-py-scripts-to-share.patch +++ b/community/rust/alpine-move-py-scripts-to-share.patch @@ -11,12 +11,12 @@ # Set the environment variable `RUST_GDB` to overwrite the call to a --- a/src/etc/rust-lldb +++ b/src/etc/rust-lldb -@@ -33,7 +33,7 @@ - RUSTC_SYSROOT=`rustc --print sysroot` +@@ -35,7 +35,7 @@ + fi - # Write the LLDB script to the tempfile --echo "command script import \"$RUSTC_SYSROOT/lib/rustlib/etc/lldb_rust_formatters.py\"" >> $TMPFILE -+echo "command script import \"$RUSTC_SYSROOT/share/rust/etc/lldb_rust_formatters.py\"" >> $TMPFILE - echo "type summary add --no-value --python-function lldb_rust_formatters.print_val -x \".*\" --category Rust" >> $TMPFILE - echo "type category enable Rust" >> $TMPFILE + # Prepare commands that will be loaded before any file on the command line has been loaded +-script_import="command script import \"$RUSTC_SYSROOT/lib/rustlib/etc/lldb_rust_formatters.py\"" ++script_import="command script import \"$RUSTC_SYSROOT/share/rust/etc/lldb_rust_formatters.py\"" + category_definition="type summary add --no-value --python-function lldb_rust_formatters.print_val -x \".*\" --category Rust" + category_enable="type category enable Rust" |