File tree 3 files changed +8
-3
lines changed
3 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -32,11 +32,17 @@ shift
32
32
33
33
export CFLAGS=" -fPIC $CFLAGS "
34
34
35
- MUSL=musl-1.1.18
35
+ # FIXME: remove the patch when upate to 1.1.20
36
+ MUSL=musl-1.1.19
36
37
37
38
# may have been downloaded in a previous run
38
39
if [ ! -d $MUSL ]; then
39
40
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 -
40
46
fi
41
47
42
48
cd $MUSL
Original file line number Diff line number Diff line change 22
22
#include " llvm/ExecutionEngine/MCJIT.h"
23
23
#include " llvm/IR/IRBuilder.h"
24
24
#include " llvm/IR/InlineAsm.h"
25
- #include " llvm/IR/InlineAsm.h"
26
- #include " llvm/IR/LLVMContext.h"
27
25
#include " llvm/IR/LLVMContext.h"
28
26
#include " llvm/IR/Module.h"
29
27
#include " llvm/Support/CommandLine.h"
Original file line number Diff line number Diff line change @@ -261,6 +261,7 @@ impl Builder {
261
261
self . rust_version = self . version ( "rust" , "x86_64-unknown-linux-gnu" ) ;
262
262
self . cargo_version = self . version ( "cargo" , "x86_64-unknown-linux-gnu" ) ;
263
263
self . rls_version = self . version ( "rls" , "x86_64-unknown-linux-gnu" ) ;
264
+ self . clippy_version = self . version ( "clippy" , "x86_64-unknown-linux-gnu" ) ;
264
265
self . rustfmt_version = self . version ( "rustfmt" , "x86_64-unknown-linux-gnu" ) ;
265
266
self . llvm_tools_version = self . version ( "llvm-tools" , "x86_64-unknown-linux-gnu" ) ;
266
267
You can’t perform that action at this time.
0 commit comments