File tree Expand file tree Collapse file tree 3 files changed +8
-3
lines changed Expand file tree Collapse file tree 3 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -32,11 +32,17 @@ shift
3232
3333export CFLAGS=" -fPIC $CFLAGS "
3434
35- MUSL=musl-1.1.18
35+ # FIXME: remove the patch when upate to 1.1.20
36+ MUSL=musl-1.1.19
3637
3738# may have been downloaded in a previous run
3839if [ ! -d $MUSL ]; then
3940 curl https://www.musl-libc.org/releases/$MUSL .tar.gz | tar xzf -
41+ # Patch to fix https://github.com/rust-lang/rust/issues/48967
42+ cd $MUSL && \
43+ curl " https://git.musl-libc.org/cgit/musl/patch/?id=610c5a8524c3d6cd3ac5a5f1231422e7648a3791" | \
44+ patch -p1 && \
45+ cd -
4046fi
4147
4248cd $MUSL
Original file line number Diff line number Diff line change 2222#include " llvm/ExecutionEngine/MCJIT.h"
2323#include " llvm/IR/IRBuilder.h"
2424#include " llvm/IR/InlineAsm.h"
25- #include " llvm/IR/InlineAsm.h"
26- #include " llvm/IR/LLVMContext.h"
2725#include " llvm/IR/LLVMContext.h"
2826#include " llvm/IR/Module.h"
2927#include " llvm/Support/CommandLine.h"
Original file line number Diff line number Diff line change @@ -261,6 +261,7 @@ impl Builder {
261261 self . rust_version = self . version ( "rust" , "x86_64-unknown-linux-gnu" ) ;
262262 self . cargo_version = self . version ( "cargo" , "x86_64-unknown-linux-gnu" ) ;
263263 self . rls_version = self . version ( "rls" , "x86_64-unknown-linux-gnu" ) ;
264+ self . clippy_version = self . version ( "clippy" , "x86_64-unknown-linux-gnu" ) ;
264265 self . rustfmt_version = self . version ( "rustfmt" , "x86_64-unknown-linux-gnu" ) ;
265266 self . llvm_tools_version = self . version ( "llvm-tools" , "x86_64-unknown-linux-gnu" ) ;
266267
You can’t perform that action at this time.
0 commit comments