Skip to content

Commit d6e410b

Browse files
committed
Fix rust-lldb wrapper scripts.
1 parent 9f06855 commit d6e410b

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.azure-pipelines/steps/run.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ steps:
3737
set -e
3838
brew update
3939
brew install xz
40-
brew install swig
40+
brew install swig@3
4141
displayName: Install build dependencies (OSX)
4242
condition: and(succeeded(), eq(variables['Agent.OS'], 'Darwin'), eq(variables['SCRIPT'],'./x.py dist'))
4343

.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ install:
263263
if [[ "$SCRIPT" == "./x.py dist" ]]; then
264264
travis_retry brew update &&
265265
travis_retry brew install xz &&
266-
travis_retry brew install swig;
266+
travis_retry brew install swig@3;
267267
fi &&
268268
travis_retry curl -fo /usr/local/bin/sccache https://s3-us-west-1.amazonaws.com/rust-lang-ci2/rust-ci-mirror/2018-04-02-sccache-x86_64-apple-darwin &&
269269
chmod +x /usr/local/bin/sccache &&

src/etc/rust-lldb

+3-3
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ category_definition="type summary add --no-value --python-function lldb_rust_for
3131
category_enable="type category enable Rust"
3232

3333
# Call LLDB with the commands added to the argument list
34-
exec "$lldb" --one-line-before-file="$script_import" \
35-
--one-line-before-file="$category_definition" \
36-
--one-line-before-file="$category_enable" \
34+
exec "$lldb" --one-line-before-file "$script_import" \
35+
--one-line-before-file "$category_definition" \
36+
--one-line-before-file "$category_enable" \
3737
"$@"

0 commit comments

Comments
 (0)