docs(ref): Update unstable docs for msrv-policy#13751
Conversation
|
r? @weihanglo rustbot has assigned @weihanglo. Use |
src/doc/src/reference/unstable.md
Outdated
| Your project's MSRV is determined by taking the lowest `package.rust-version` set in you workspace. | ||
| If there is none set, `rustc -V` will be used to pick up the rust version from rustup's `rust-toolchain.toml`. |
There was a problem hiding this comment.
It might be tricker to explain the rustc invocation when #13659 is merged. rust-toolchain.toml does not always exist either. I might suggest something like:
| Your project's MSRV is determined by taking the lowest `package.rust-version` set in you workspace. | |
| If there is none set, `rustc -V` will be used to pick up the rust version from rustup's `rust-toolchain.toml`. | |
| Your project's MSRV is determined by taking the lowest `package.rust-version` set among all members of your workspace. | |
| If there is none set, the version of rustc Cargo will invoke would be picked as the project's MSRV. |
BTW, what does "project" refer to here? 😆
There was a problem hiding this comment.
Went in a slightly different direction.
I also did not write this with an eye for what would go in stable documentation. This is meant to help people in using the unstable feature and I don't think we need to block on this being ideal.
|
Thanks! @bors r+ |
docs(ref): Update unstable docs for msrv-policy
|
bors is dead? @bors r- |
|
@bors r+ |
|
☀️ Test successful - checks-actions |
Update cargo 11 commits in 48eca1b164695022295ce466b64b44e4e0228b08..6f06fe908a5ee0f415c187f868ea627e82efe07d 2024-04-12 21:16:36 +0000 to 2024-04-16 18:47:44 +0000 - fix(toml): Error on `[project]` in Edition 2024 (rust-lang/cargo#13747) - feat(update): Include a Locking message (rust-lang/cargo#13759) - chore(deps): update rust crate gix to 0.62.0 [security] (rust-lang/cargo#13760) - test(schemas): Ensure tests cover the correct case (rust-lang/cargo#13761) - feat(resolve): Tell the user the style of resovle done (rust-lang/cargo#13754) - Make sure to also wrap the initial `-vV` invocation (rust-lang/cargo#13659) - docs: update `checkout` GitHub action version (rust-lang/cargo#13757) - Recategorize cargo test's `--doc` flag under "Target Selection" (rust-lang/cargo#13756) - Reword sentence describing workspace toml for clarity (rust-lang/cargo#13753) - docs(ref): Update unstable docs for msrv-policy (rust-lang/cargo#13751) - refactor(config): Consistently use kebab-case (rust-lang/cargo#13748) r? ghost
Update cargo 11 commits in 48eca1b164695022295ce466b64b44e4e0228b08..6f06fe908a5ee0f415c187f868ea627e82efe07d 2024-04-12 21:16:36 +0000 to 2024-04-16 18:47:44 +0000 - fix(toml): Error on `[project]` in Edition 2024 (rust-lang/cargo#13747) - feat(update): Include a Locking message (rust-lang/cargo#13759) - chore(deps): update rust crate gix to 0.62.0 [security] (rust-lang/cargo#13760) - test(schemas): Ensure tests cover the correct case (rust-lang/cargo#13761) - feat(resolve): Tell the user the style of resovle done (rust-lang/cargo#13754) - Make sure to also wrap the initial `-vV` invocation (rust-lang/cargo#13659) - docs: update `checkout` GitHub action version (rust-lang/cargo#13757) - Recategorize cargo test's `--doc` flag under "Target Selection" (rust-lang/cargo#13756) - Reword sentence describing workspace toml for clarity (rust-lang/cargo#13753) - docs(ref): Update unstable docs for msrv-policy (rust-lang/cargo#13751) - refactor(config): Consistently use kebab-case (rust-lang/cargo#13748) r? ghost
No description provided.