Skip to content

Commit

Permalink
Modify according to suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
trackers-lover committed Apr 15, 2024
1 parent 7d102b7 commit c32db8c
Showing 1 changed file with 4 additions and 0 deletions.
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 c32db8c

Please sign in to comment.