File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change 11[target .x86_64-unknown-linux-gnu ]
2+ env = {
3+ LIBCLANG_PATH = " /usr/lib/llvm-18/lib" ,
4+ LLVM_CONFIG_PATH = " /usr/lib/llvm-18/bin/llvm-config" ,
5+ CLANG_PATH = " /usr/lib/llvm-18/bin/clang" ,
6+ BINDGEN_EXTRA_CLANG_ARGS = " --sysroot=/usr" ,
7+ }
28pre-build = [
39 " apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y curl lsb-release software-properties-common build-essential pkg-config libssl-dev && rm -rf /var/lib/apt/lists/*" ,
410 " curl -fsSL https://apt.llvm.org/llvm.sh -o /tmp/llvm.sh && chmod +x /tmp/llvm.sh && /tmp/llvm.sh 18 && rm -f /tmp/llvm.sh" ,
@@ -10,6 +16,12 @@ pre-build = [
1016]
1117
1218[target .aarch64-unknown-linux-gnu ]
19+ env = {
20+ LIBCLANG_PATH = " /usr/lib/llvm-18/lib" ,
21+ LLVM_CONFIG_PATH = " /usr/lib/llvm-18/bin/llvm-config" ,
22+ CLANG_PATH = " /usr/lib/llvm-18/bin/clang" ,
23+ BINDGEN_EXTRA_CLANG_ARGS = " --sysroot=/usr" ,
24+ }
1325pre-build = [
1426 " apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y curl lsb-release software-properties-common build-essential pkg-config libssl-dev && rm -rf /var/lib/apt/lists/*" ,
1527 " curl -fsSL https://apt.llvm.org/llvm.sh -o /tmp/llvm.sh && chmod +x /tmp/llvm.sh && /tmp/llvm.sh 18 && rm -f /tmp/llvm.sh" ,
You can’t perform that action at this time.
0 commit comments