Skip to content

Commit 4df231f

Browse files
committed
Workaround rust nightly line ending issues
1 parent 9628568 commit 4df231f

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

setup.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ if [[ ! -f /updated.2 ]]; then
3737
bzip2 \
3838
cgroup-tools \
3939
curl \
40+
dos2unix \
4041
file \
4142
flex \
4243
g++ \

update_compilers/install_rust_compilers.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ do_rust_install() {
1616
if [[ ${IS_STD_LIB} -ne 0 ]]; then
1717
rm -rf ${OPT}/${INSTALL}
1818
fi
19+
# TODO: remove once rust fixes nightly builds upstream
20+
# workaround line ending issue in certain rust nightly archives
21+
dos2unix install.sh
1922
./install.sh --prefix=${OPT}/${INSTALL} --verbose --without=rust-docs
2023
popd
2124
rm -rf /tmp/${DIR}

0 commit comments

Comments
 (0)