mirror of
https://github.com/hanzoai/dev.git
synced 2026-10-25 03:23:33 +00:00
Fix sccache build error by removing CARGO_INCREMENTAL
sccache and incremental compilation are incompatible. Removing CARGO_INCREMENTAL=1 since sccache provides better caching benefits in CI environments.
This commit is contained in:
@@ -173,9 +173,9 @@ jobs:
|
||||
- name: Build binaries
|
||||
run: |
|
||||
cd codex-rs
|
||||
# Use all available cores and enable incremental compilation
|
||||
# Use all available cores
|
||||
export CARGO_BUILD_JOBS=$(($(nproc || sysctl -n hw.ncpu || echo 2) * 2))
|
||||
export CARGO_INCREMENTAL=1
|
||||
# Note: CARGO_INCREMENTAL is disabled when using sccache
|
||||
echo "Building with $CARGO_BUILD_JOBS parallel jobs"
|
||||
cargo build --release --target ${{ matrix.target }} --bin coder --bin coder-tui --bin coder-exec
|
||||
|
||||
|
||||
@@ -126,9 +126,9 @@ jobs:
|
||||
- name: Cargo build
|
||||
shell: bash
|
||||
run: |
|
||||
# Use all available cores and enable incremental compilation
|
||||
# Use all available cores
|
||||
export CARGO_BUILD_JOBS=$(($(nproc || sysctl -n hw.ncpu || echo 2) * 2))
|
||||
export CARGO_INCREMENTAL=1
|
||||
# Note: CARGO_INCREMENTAL is disabled when using sccache
|
||||
echo "Building with $CARGO_BUILD_JOBS parallel jobs"
|
||||
cargo build --target ${{ matrix.target }} --release --bin coder
|
||||
|
||||
|
||||
@@ -476,6 +476,8 @@ impl Page {
|
||||
rect.setAttribute('stroke', 'white');
|
||||
rect.setAttribute('stroke-width','1');
|
||||
rect.setAttribute('vector-effect','non-scaling-stroke');
|
||||
rect.setAttribute('filter', 'url(#vc-drop-shadow)');
|
||||
badge.appendChild(defs.cloneNode(true));
|
||||
|
||||
const glyphs = createSvg('path');
|
||||
glyphs.setAttribute('d',
|
||||
|
||||
Reference in New Issue
Block a user