aboutsummaryrefslogtreecommitdiff
path: root/src/rust
diff options
context:
space:
mode:
authorSamruddhi Khandale <skhandale@microsoft.com>2023-10-28 01:47:44 +0300
committerGitHub <noreply@github.com>2023-10-28 01:47:44 +0300
commitd4ecc7be066bfc9fe3bd0f5eef7e9a429b2b68f7 (patch)
tree1ca1a9534c274146e3c28fa2bb198d8dcd90f77a /src/rust
parent719901a1b4751d5d9864d9700f56b6ecf80cc4f4 (diff)
Diffstat (limited to 'src/rust')
-rw-r--r--src/rust/devcontainer-feature.json2
-rwxr-xr-xsrc/rust/install.sh15
2 files changed, 1 insertions, 16 deletions
diff --git a/src/rust/devcontainer-feature.json b/src/rust/devcontainer-feature.json
index 70ed39e..7ee455f 100644
--- a/src/rust/devcontainer-feature.json
+++ b/src/rust/devcontainer-feature.json
@@ -1,6 +1,6 @@
{
"id": "rust",
- "version": "1.1.0",
+ "version": "1.1.1",
"name": "Rust",
"documentationURL": "https://github.com/devcontainers/features/tree/main/src/rust",
"description": "Installs Rust, common Rust utilities, and their required dependencies",
diff --git a/src/rust/install.sh b/src/rust/install.sh
index 1a30992..00c0a6e 100755
--- a/src/rust/install.sh
+++ b/src/rust/install.sh
@@ -48,21 +48,6 @@ elif [ "${USERNAME}" = "none" ] || ! id -u ${USERNAME} > /dev/null 2>&1; then
USERNAME=root
fi
-# Get central common setting
-get_common_setting() {
- if [ "${common_settings_file_loaded}" != "true" ]; then
- curl -sfL "https://aka.ms/vscode-dev-containers/script-library/settings.env" 2>/dev/null -o /tmp/vsdc-settings.env || echo "Could not download settings file. Skipping."
- common_settings_file_loaded=true
- fi
- if [ -f "/tmp/vsdc-settings.env" ]; then
- local multi_line=""
- if [ "$2" = "true" ]; then multi_line="-z"; fi
- local result="$(grep ${multi_line} -oP "$1=\"?\K[^\"]+" /tmp/vsdc-settings.env | tr -d '\0')"
- if [ ! -z "${result}" ]; then declare -g $1="${result}"; fi
- fi
- echo "$1=${!1}"
-}
-
# Figure out correct version of a three part version number is not passed
find_version_from_git_tags() {
local variable_name=$1