Fix rust-lldb wrapper scripts.

This commit is contained in:
Pyry Kontio 2019-06-14 17:17:28 +09:00
parent 9f06855064
commit d6e410b320
3 changed files with 5 additions and 5 deletions

View File

@ -37,7 +37,7 @@ steps:
set -e set -e
brew update brew update
brew install xz brew install xz
brew install swig brew install swig@3
displayName: Install build dependencies (OSX) displayName: Install build dependencies (OSX)
condition: and(succeeded(), eq(variables['Agent.OS'], 'Darwin'), eq(variables['SCRIPT'],'./x.py dist')) condition: and(succeeded(), eq(variables['Agent.OS'], 'Darwin'), eq(variables['SCRIPT'],'./x.py dist'))

View File

@ -263,7 +263,7 @@ install:
if [[ "$SCRIPT" == "./x.py dist" ]]; then if [[ "$SCRIPT" == "./x.py dist" ]]; then
travis_retry brew update && travis_retry brew update &&
travis_retry brew install xz && travis_retry brew install xz &&
travis_retry brew install swig; travis_retry brew install swig@3;
fi && fi &&
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 && 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 &&
chmod +x /usr/local/bin/sccache && chmod +x /usr/local/bin/sccache &&

View File

@ -31,7 +31,7 @@ category_definition="type summary add --no-value --python-function lldb_rust_for
category_enable="type category enable Rust" category_enable="type category enable Rust"
# Call LLDB with the commands added to the argument list # Call LLDB with the commands added to the argument list
exec "$lldb" --one-line-before-file="$script_import" \ exec "$lldb" --one-line-before-file "$script_import" \
--one-line-before-file="$category_definition" \ --one-line-before-file "$category_definition" \
--one-line-before-file="$category_enable" \ --one-line-before-file "$category_enable" \
"$@" "$@"