mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-26 04:35:39 +03:00
22 lines
957 B
Diff
22 lines
957 B
Diff
--- a/src/etc/rust-gdb
|
|
+++ b/src/etc/rust-gdb
|
|
@@ -14,7 +14,7 @@
|
|
|
|
# Find out where the pretty printer Python module is
|
|
RUSTC_SYSROOT=`rustc --print=sysroot`
|
|
-GDB_PYTHON_MODULE_DIRECTORY="$RUSTC_SYSROOT/lib/rustlib/etc"
|
|
+GDB_PYTHON_MODULE_DIRECTORY="$RUSTC_SYSROOT/share/rust/etc"
|
|
|
|
# Run GDB with the additional arguments that load the pretty printers
|
|
# Set the environment variable `RUST_GDB` to overwrite the call to a
|
|
--- a/src/etc/rust-lldb
|
|
+++ b/src/etc/rust-lldb
|
|
@@ -35,7 +35,7 @@
|
|
fi
|
|
|
|
# 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"
|
|
|