File tree Expand file tree Collapse file tree
.github/actions/build-upstream Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11[build ]
22rustflags = [" --cfg" , " tokio_unstable" ] # also update .github/workflows/ci.yml
3+ # fix sqlite build error on linux
4+ [target .'cfg(target_os = "linux")' ]
5+ rustflags = [
6+ " --cfg" ,
7+ " tokio_unstable" ,
8+ " -C" ,
9+ " link-args=-Wl,--warn-unresolved-symbols" ,
10+ ]
311
412[unstable ]
513bindeps = true
Original file line number Diff line number Diff line change 2121 fi
2222 pnpm --filter rolldown build-node
2323 pnpm --filter rolldown-vite build-types
24- CC="x86_64-unknown-linux-gnu-cc" pnpm --filter=@voidzero-dev/vite-plus build --target ${{ inputs.target }} --use-napi-cross
24+ CC=clang pnpm --filter=@voidzero-dev/vite-plus build --target ${{ inputs.target }} --use-napi-cross
2525 env :
2626 TARGET_CC : clang
2727
3535 fi
3636 pnpm --filter rolldown build-node
3737 pnpm --filter rolldown-vite build-types
38- pnpm --filter=@voidzero-dev/vite-plus build --target ${{ inputs.target }} --use-napi-cross
38+ TARGET_CFLAGS="-D_BSD_SOURCE" pnpm --filter=@voidzero-dev/vite-plus build --target ${{ inputs.target }} --use-napi-cross
3939 env :
4040 TARGET_CC : clang
4141
You can’t perform that action at this time.
0 commit comments