Skip to content

Commit

Permalink
add instructions on maintenance time(#155)
Browse files Browse the repository at this point in the history
Synchronize the original contents
  • Loading branch information
trackers-lover committed Apr 15, 2024
1 parent 7d102b7 commit 7c80eeb
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
6 changes: 6 additions & 0 deletions english/src/appendix-07-nightly-rust.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,12 @@ work as expected, you can report it to the team and get it fixed before the
next stable release happens! Breakage in a beta release is relatively rare, but
`rustc` is still a piece of software, and bugs do exist.

### Maintenance time

The Rust project supports the most recent stable version. When a new stable
version is released, the old version reaches its end of life (EOL). This means
each version is supported for six weeks.

### Unstable Features

There’s one more catch with this release model: unstable features. Rust uses a
Expand Down
4 changes: 4 additions & 0 deletions src/appendix-07-nightly-rust.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,10 @@ Rust 每 6 周发布一次,就像发条一样。如果你知道了某个 Rust

多亏了这个过程,你可以随时切换到下一版本的 Rust 并验证它是否易于升级:如果 beta 版不能如期工作,你可以向 Rust 团队报告并在发布下一个稳定版之前得到修复!beta 版造成的破坏是非常少见的,但 `rustc` 也是一个软件,仍可能存在 bug。

### 维护时间

Rust项目支持最新的稳定版本。当一个新的稳定版本发布时,旧版本就达到了其生命周期(EOL)。这意味着每个版本都支持六周。

### 不稳定功能

这个发布模型中另一个值得注意的地方:不稳定功能(unstable features)。Rust 使用一个被称为 “功能标记”(“feature flags”)的技术来确定给定版本的某个功能是否启用。如果新功能正在积极地开发中,其提交到了 `master`,因此会出现在 nightly 版中,不过会位于一个 **功能标记** 之后。作为用户,如果你希望尝试这个正在开发的功能,则可以在源码中使用合适的标记来开启,不过必须使用 nightly 版。
Expand Down

0 comments on commit 7c80eeb

Please sign in to comment.