Skip to content

Commit e806482

Browse files
chore(lang-rust): update data location & Python debugger script
Signed-off-by: Georg Lauterbach <44545919+georglauterbach@users.noreply.github.com>
1 parent 03c2e3e commit e806482

File tree

4 files changed

+7
-4
lines changed

4 files changed

+7
-4
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
# copied on 15 Oct 2025 from
22
# https://github.com/cmrschwarz/rust-prettifier-for-lldb/blob/main/rust_prettifier_for_lldb.py
33

4+
# this file is saved as .py.txt to not have GitHub index it as Python to
5+
# not give the impression this repository contains mainly Python code
6+
47
# rust-prettifier-for-lldb, Christian Schwarz, 2024
58

69
# This file is based on by vadimcn/codelldb by Vadim Chugunov

src/lang-rust/devcontainer-feature.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// ref: https://github.com/devcontainers/spec/blob/main/schemas/devContainerFeature.schema.json
22
{
33
"id": "lang-rust",
4-
"version": "0.1.4",
4+
"version": "0.1.5",
55
"name": "Programming Language | Rust",
66
"documentationURL": "https://github.com/georglauterbach/dev-container-features/tree/main/src/rust",
77
"description": "Work efficiently and effortlessly with Rust",

src/lang-rust/install.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ parse_dev_container_options() {
1717
}
1818

1919
copy_lifecycle_hook_scripts() {
20-
mkdir --parents /usr/local/share/dev_containers/features/ghcr_io/georglauterbach/lang_rust/lifecycle_hooks
21-
cp on_create_command.sh /usr/local/share/dev_containers/features/ghcr_io/georglauterbach/lang_rust/lifecycle_hooks/on_create_command.sh
20+
mkdir --parents "${FEATURE_SHARE_DIR}/lifecycle_hooks"
21+
cp data/on_create_command.sh "${FEATURE_SHARE_DIR}/lifecycle_hooks/on_create_command.sh"
2222
}
2323

2424
rustup_adjustments() {
@@ -48,7 +48,7 @@ rustup_adjustments() {
4848

4949
copy_lldb_prettifiers() {
5050
log 'info' 'Copying prettifier for LLDB'
51-
cp "lldb_prettifier.py" "${FEATURE_SHARE_DIR}/"
51+
cp "data/lldb_prettifier.py.txt" "${FEATURE_SHARE_DIR}/lldb_prettifier.py"
5252
chmod 777 "${FEATURE_SHARE_DIR}/lldb_prettifier.py"
5353
}
5454

0 commit comments

Comments
 (0)