Skip to content

Update pinned nightly toolchain - #1849

Open
ludfjig wants to merge 2 commits into
hyperlight-dev:mainfrom
ludfjig:update_nightly
Open

ludfjig wants to merge 2 commits into
hyperlight-dev:mainfrom
ludfjig:update_nightly

Conversation

@ludfjig

@ludfjig ludfjig commented Sep 22, 2026 •

Copy link
Copy Markdown
Contributor

Updates the pinned nighly toolchain version in justfile.

Also pins some previous usages of bare +nightly to use the specific version

Signed-off-by: Ludvig Liljenberg <4257730+ludfjig@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟡 Changes recommended

Align the Nix toolchain mapping and devcontainer installation with the new pin, and update remaining floating nightly references.

Get a fresh assessment by requesting another Copilot review.

Review effort: Lite
Findings: 1 High severity · 1 Medium severity

Open (2)
What changed in this PR

Updates the pinned Rust nightly toolchain to nightly-2026-09-22 across development and CI workflows.

Changes:

  • Updates nightly commands in Justfile.
  • Pins the Coverage CI and devcontainer toolchains.
  • Reformats guest error imports.
File Summary Review findings
src/​hyperlight_guest/​src/​error.rs Applies import formatting changes. —
Justfile Updates nightly toolchain usage. Critical (2 votes): flake.nix is not aligned with the new pin. Nit (1 vote): floating nightly references remain in user documentation and configuration.
.github/​workflows/​Coverage.yml Installs the pinned coverage toolchain. —
.devcontainer/​devcontainer.json Configures Rust Analyzer with the pinned toolchain. Moderate (2 votes): the image does not install the requested dated toolchain.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread Justfile
Comment thread .devcontainer/devcontainer.json
Signed-off-by: Ludvig Liljenberg <4257730+ludfjig@users.noreply.github.com>
@ludfjig ludfjig added kind/dependencies For PRs that update dependencies or related components ready-for-review PR is ready for (re-)review labels Sep 22, 2026
"settings": {
"rust-analyzer.rustfmt.extraArgs": [
"+nightly" // required for rustfmt.toml which uses nightly features
"+nightly-2026-09-22" // required for rustfmt.toml which uses nightly features

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does this mean we need bump this regularly? wouldn't the +nightly just get the latest?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can bump it as regularly as we would like. I think pinning it is a good idea for consistent results anyway

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess it seems like it hasn't been an issue for us in the past. I get nervous about having to remember to bump this but maybe we can drop a note somewhere in a readme/rusttoolchain.toml to remind folks

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think next time bumping, whoever is doing the bumping will hopefully search for nightly-2026-09-22 and discover all usecases

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/dependencies For PRs that update dependencies or related components ready-for-review PR is ready for (re-)review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants