Skip to content

Commit 8cd8eac

Browse files
committed
chore: fix
1 parent 004a999 commit 8cd8eac

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

rust/cubestore/CLAUDE.md

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -144,10 +144,16 @@ The codebase uses a custom dependency injection system defined in `config/inject
144144
The project includes Docker configurations for building and deploying CubeStore:
145145

146146
- **`builder.Dockerfile`**: Defines the base build image with Rust nightly-2025-08-01, LLVM 18, and build dependencies
147-
- **`Dockerfile`**: Production Dockerfile that uses `cubejs/rust-builder:bookworm-llvm-18` base image
148-
- **GitHub Actions**: CI/CD workflow in `.github/workflows/rust-cubestore.yml` uses the same Rust version
147+
- **`Dockerfile`**: Production Dockerfile that uses `cubejs/rust-builder:bookworm-llvm-18` base image and copies rust-toolchain.toml
148+
- **GitHub Actions**: Multiple CI/CD workflows use the same Rust version
149149

150-
When updating the Rust version, ensure all these files are kept in sync:
151-
1. `rust-toolchain.toml` - Primary source of truth
152-
2. `builder.Dockerfile` - Builder image definition
153-
3. `.github/workflows/rust-cubestore.yml` - CI configuration
150+
## Updating Rust Version
151+
152+
When updating the Rust version, ensure ALL these files are kept in sync:
153+
154+
1. **`rust-toolchain.toml`** - Primary source of truth for local development
155+
2. **`builder.Dockerfile`** - Update the rustup default command with the new nightly version
156+
3. **`Dockerfile`** - Copies rust-toolchain.toml (no manual update needed if builder image is updated)
157+
4. **GitHub Workflows** - Update all occurrences of the Rust nightly version in `.github/workflows/` directory
158+
159+
**Note**: The `cubejs/rust-builder:bookworm-llvm-18` Docker image tag may also need updating if the builder.Dockerfile changes significantly.

0 commit comments

Comments
 (0)