Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Solaris support is broken on 1.29.2

已关闭
#5,164 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

已经有一个关联 PR 被合并了。

  • #5167 来自 @ChrisDenton —— 已合并

评估

难度
3/5
预计耗时
1-2 天
新手友好度
45/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
技术栈
rust
领域
tooling

调研方向

The settings-file lock logic in rustup fails on Solaris now that lock() was removed from the Rust standard library (rust-lang/rust#157509). Start by finding where the settings.toml file lock is taken and study the Cargo workaround in rust-lang/cargo#17110 for an alternative locking approach. 'Done' means rustup installs successfully on Solaris 11.4 as in the linked libc CI run, verified by reproducing the installer flow there. Needs platform/file-locking familiarity, so better for someone with Solaris or systems-rust experience than a true first issue.

由索引模型根据 Issue 内容生成。

描述

bug
Verification
Problem

Rustup v1.29.2 is broken atm, like:

+ curl --proto '=https' --tlsv1.2 -sSf --retry 5 https://sh.rustup.rs/
info: downloading installer
error: could not write settings file: '/root/.rustup/settings.toml': lock() not supported

Full CI log: https://github.com/rust-lang/libc/actions/runs/40071179099/job/120805372981

This is because https://github.com/rust-lang/rust/pull/157509 removed lock().

Steps
  1. run rustup on Solaris
Possible Solution(s)

We need to implement alternative way.
Prior art on Cargo: https://github.com/rust-lang/cargo/pull/17110

Notes

No response

Rustup version
v1.29.2
Installed toolchains
No info as it was caught on CI but it should happen on all the toolchains anyway.
OS version
Solaris 11.4-gcc
主要语言
Rust
星标
7.1k
派生
1.1k
平均合并
1 天 3 小时
30 天内合并 PR
36

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

rust-lang/rustup 的其他 Issue

查看 rust-lang/rustup 的全部 Issue

相似的 Issue

更多 Rust Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。