@@ -10,24 +10,24 @@ Launchpad build environments do NOT have internet access. This means:
1010
1111### Build Dependencies
1212The following packages are required and must be available to Launchpad through the Ubuntu archive or a configured dependency PPA:
13- - `rustc-1.85 ` or `rustc (>= 1.85 )` - Rust compiler (Rust edition 2024 requires Rust 1.85+)
14- - `cargo-1.85 ` or `cargo (>= 1.85 )` - Rust package manager
13+ - `rustc-1.92 ` or `rustc (>= 1.92 )` - Rust compiler
14+ - `cargo-1.92 ` or `cargo (>= 1.92 )` - Rust package manager
1515- `pkg-config` - For finding system libraries
1616- `cmake` - Build system
1717
1818### Rust Version Requirements
19- This project requires Rust 1.85 or newer because it uses Rust edition 2024 . This means:
20- - Ubuntu 22.04 (Jammy): requires a versioned Rust 1.85 toolchain from the PPA itself or a dependent PPA
21- - Ubuntu 24.04 (Noble): requires a versioned Rust 1.85 toolchain from the PPA itself or a dependent PPA
22- - Ubuntu 26.04 (Resolute): can use the archive's default Rust toolchain
19+ This project currently requires Rust 1.92 or newer because the vendored dependency set no longer builds with Rust 1.85 . This means:
20+ - Ubuntu 22.04 (Jammy): requires a versioned Rust 1.92 toolchain from the dependent PPA `~lablup/+archive/ubuntu/rustc-release`
21+ - Ubuntu 24.04 (Noble): requires a versioned Rust 1.92 toolchain from the dependent PPA `~lablup/+archive/ubuntu/rustc-release`
22+ - Ubuntu 26.04 (Resolute): can use the archive's Rust 1.92+ toolchain without the extra dependency PPA
2323
2424If building for older Ubuntu versions, you may need to:
25- 1. Add a Launchpad PPA dependency that provides `rustc-1.85 ` and `cargo-1.85 `
26- 2. Limit support to distributions with Rust 1.85 +
25+ 1. Add a Launchpad PPA dependency on `~lablup/+archive/ubuntu/rustc-release` so Jammy and Noble can see `rustc-1.92 ` and `cargo-1.92 `
26+ 2. Limit support to distributions with Rust 1.92 +
2727
2828### Build Process
29291. GitHub Actions vendors crates into `vendor/` and generates `.cargo/config.toml`
30- 2. The `debian/rules` file requires Rust/Cargo 1.85 + and enables offline cargo mode
30+ 2. The `debian/rules` file requires Rust/Cargo 1.92 + and enables offline cargo mode
31313. Launchpad builds the project with `cargo build --release --frozen --workspace`
32324. The binary is installed to `/usr/bin/bssh`
3333
@@ -36,8 +36,8 @@ If the build fails on Launchpad:
36361. Check the build log for the exact error
37372. Common issues:
3838 - Missing build dependencies: Add them to debian/control
39- - Rust version incompatibility: Ensure Rust 1.85 + is available
40- - Missing PPA dependency: Jammy/Noble need access to `rustc-1.85 ` and `cargo-1.85 `
39+ - Rust version incompatibility: Ensure Rust 1.92 + is available
40+ - Missing PPA dependency: Jammy/Noble need access to `rustc-1.92 ` and `cargo-1.92 `
4141 - Missing vendored crates: Ensure `vendor/` and `.cargo/config.toml` are included in the source package
4242 - Cargo registry access: The build will fail if it tries to download crates
4343
0 commit comments