From 1543191b8f183aa23a520c1a72ddd2be181ded95 Mon Sep 17 00:00:00 2001 From: Shadaj Laddad Date: Thu, 12 Dec 2024 15:42:50 -0800 Subject: [PATCH] build(docs): fix Cloudflare builds --- build_docs.bash | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/build_docs.bash b/build_docs.bash index 478f93614b0..11c5af01db5 100644 --- a/build_docs.bash +++ b/build_docs.bash @@ -1,8 +1,6 @@ set -e -PLATFORM=${1:-"x86_64-linux-gnu-ubuntu-16.04"} - -wget -qO- https://github.com/llvm/llvm-project/releases/download/llvmorg-13.0.0/clang+llvm-13.0.0-$PLATFORM.tar.xz | tar xJ +wget -qO- https://github.com/llvm/llvm-project/releases/download/llvmorg-19.1.0/LLVM-19.1.0-Linux-X64.tar.xz | tar xJ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y @@ -12,7 +10,7 @@ curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh cd website_playground -CARGO_CFG_HYDROFLOW_GENERATE_DOCS="1" RUSTFLAGS="--cfg procmacro2_semver_exempt --cfg super_unstable" CC="$PWD/../clang+llvm-13.0.0-$PLATFORM/bin/clang" wasm-pack build +CARGO_CFG_HYDROFLOW_GENERATE_DOCS="1" RUSTFLAGS="--cfg procmacro2_semver_exempt --cfg super_unstable" CC="$PWD/../LLVM-19.1.0-Linux-X64/bin/clang" wasm-pack build cd ..