Skip to content

docs: make it clearer that rust_version is enforced during compile #15303

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 2 commits into from
Mar 17, 2025

Conversation

ericswpark
Copy link
Contributor

@ericswpark ericswpark commented Mar 12, 2025

What does this PR try to resolve?

The current wording makes it sound like Cargo will only refuse to compile the package if it encounters any missing functionality in stdlib while compiling the package on an unsupported toolchain. However, cargo will actually refuse to build the package unless overridden or the toolchain is updated.

How should we test and review this PR?

No tests are required or applicable for this PR unless I am mistaken

Additional information

@rustbot
Copy link
Collaborator

rustbot commented Mar 12, 2025

r? @ehuss

rustbot has assigned @ehuss.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@rustbot rustbot added A-documenting-cargo-itself Area: Cargo's documentation S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Mar 12, 2025
@ericswpark ericswpark changed the title docs: make it clearer that rust_version is enforced during compile docs: make it clearer that rust_version is enforced during compile Mar 12, 2025
The current wording makes it sound like Cargo will only refuse to compile
the package if it encounters any missing functionality in stdlib while
compiling the package on an unsupported toolchain. However, cargo
will actually refuse to build the package unless overridden or the
toolchain is updated.
@ericswpark ericswpark requested a review from epage March 12, 2025 16:35
@ehuss ehuss assigned epage and unassigned ehuss Mar 15, 2025
Co-authored-by: Ed Page <eopage@gmail.com>
@ericswpark ericswpark requested a review from epage March 17, 2025 16:33
@epage epage enabled auto-merge March 17, 2025 16:37
@epage
Copy link
Contributor

epage commented Mar 17, 2025

Thanks!

@epage epage added this pull request to the merge queue Mar 17, 2025
Merged via the queue into rust-lang:master with commit 40a4d1e Mar 17, 2025
21 checks passed
@ericswpark ericswpark deleted the patch-1 branch March 17, 2025 18:01
bors added a commit to rust-lang-ci/rust that referenced this pull request Mar 22, 2025
Update cargo

14 commits in 6cf8267012570f63d6b86e85a2ae5627de52df9e..307cbfda3119f06600e43cd38283f4a746fe1f8b
2025-03-14 15:25:36 +0000 to 2025-03-20 20:00:39 +0000
- feat: Add custom completer for cargo &lt;TAB&gt; to complete aliases defined in config.toml (rust-lang/cargo#15319)
- fix(build-dir): Renamed workspace-manifest-path-hash to workspace-path-hash (rust-lang/cargo#15334)
- feat: vcs, color, and message format native completion (rust-lang/cargo#15322)
- Fix `[env]` `relative` description in reference (rust-lang/cargo#15332)
- chore: fix some typos (rust-lang/cargo#15329)
- Cleanup for rustc-link-arg-cdylib (rust-lang/cargo#15326)
- fix(toml): Report '&lt;target&gt;.edition' deprecation to users (rust-lang/cargo#15321)
- test(build-std): address overly-matched snapshot (rust-lang/cargo#15325)
- Added `build.build_dir` templating support (rust-lang/cargo#15236)
- docs: make it clearer that `rust_version` is enforced during compile (rust-lang/cargo#15303)
- feat: Add custom completer for cargo +&lt;TAB&gt; to complete toolchain name (rust-lang/cargo#15301)
- chore: fix some typos (rust-lang/cargo#15316)
- fix: deduplicate crate types in cargo rustc command (rust-lang/cargo#15314)
- docs: mention wrong URLs as a cause of git authentication errors (rust-lang/cargo#15304)

r? ghost
@rustbot rustbot added this to the 1.87.0 milestone Mar 22, 2025
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
A-documenting-cargo-itself Area: Cargo's documentation S-waiting-on-review Status: Awaiting review from the assignee but also interested parties.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants