Skip to content

Commit b9ea04d

Browse files
committed
docs: update changelog for 1.91.0
1 parent 02c8076 commit b9ea04d

File tree

1 file changed

+112
-1
lines changed

1 file changed

+112
-1
lines changed

src/doc/src/CHANGELOG.md

Lines changed: 112 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,131 @@
11
# Changelog
22

33
## Cargo 1.91 (2025-10-30)
4-
[840b83a1...HEAD](https://github.com/rust-lang/cargo/compare/840b83a1...HEAD)
4+
[840b83a1...rust-1.91.0](https://github.com/rust-lang/cargo/compare/840b83a1...rust-1.91.0)
55

66
### Added
77

8+
- 🎉 Stabilize `build.build-dir`.
9+
This config sets the directory where intermediate build artifacts are stored.
10+
These artifacts are produced by Cargo and rustc during the build process.
11+
End users usually won't need to interact with them, and the layout inside
12+
`build-dir` is an implementation detail that may change without notice.
13+
([config doc](https://doc.rust-lang.org/nightly/cargo/reference/config.html#buildbuild-dir))
14+
([build cache doc](https://doc.rust-lang.org/nightly/cargo/reference/build-cache.html))
15+
[#15833](https://github.com/rust-lang/cargo/pull/15833)
16+
[#15840](https://github.com/rust-lang/cargo/pull/15840)
17+
818
### Changed
919

20+
- ❗️ `cargo publish` no longer keeps `.crate` tarballs as final build artifacts
21+
when `build.build-dir` is set. These tarballs were previously included due to
22+
an oversight and are now treated as intermediate artifacts.
23+
To get `.crate` tarballs as final artifacts, use `cargo package`.
24+
In the next version, this change will apply regardless of `build.build-dir`.
25+
[#15910](https://github.com/rust-lang/cargo/pull/15910)
26+
- Adjust Cargo messages to match rustc diagnostic style
27+
[#15928](https://github.com/rust-lang/cargo/pull/15928)
28+
- More helpful error for invalid `cargo-features = []`
29+
[#15781](https://github.com/rust-lang/cargo/pull/15781)
30+
- Don't stop at first error when emitting lints and warnings
31+
[#15889](https://github.com/rust-lang/cargo/pull/15889)
32+
- Show the bad manifest path in the error message
33+
[#15896](https://github.com/rust-lang/cargo/pull/15896)
34+
- Suggest workspace hints for invalid boolean dependencies
35+
[#15507](https://github.com/rust-lang/cargo/pull/15507)
36+
- cargo-package: Always reuse the workspace's target-dir during the package
37+
verification. Previously Cargo created a new standalone target directory
38+
within the unpacked source.
39+
[#15783](https://github.com/rust-lang/cargo/pull/15783)
40+
- cargo-publish: Add more context to publish-failed error message
41+
[#15879](https://github.com/rust-lang/cargo/pull/15879)
42+
1043
### Fixed
1144

1245
### Nightly only
1346

47+
- 🔥 `-Zsection-timings` extend the output of `cargo build --timings`. It tells
48+
rustc to produce timings of individual compilation sections, which will be
49+
then displayed in the timings HTML/JSON output.
50+
([docs](https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#section-timings))
51+
[#15780](https://github.com/rust-lang/cargo/pull/15780)
52+
[#15923](https://github.com/rust-lang/cargo/pull/15923)
53+
- 🔥 `-Zbuild-dir-new-layout` enables the new build-dir filesystem layout, which
54+
unblocks work towards caching and locking improvements.
55+
([docs](https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#build-dir-new-layout))
56+
([project goal](https://rust-lang.github.io/rust-project-goals/2025h2/cargo-build-dir-layout.html))
57+
[#15848](https://github.com/rust-lang/cargo/pull/15848)
58+
- 🔥 `-Zbuild-analysis` records and persists detailed build metrics (timings, rebuild reasons, etc.)
59+
across runs, with new commands to query past builds.
60+
([docs](https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#build-analysis))
61+
([project goal](https://rust-lang.github.io/rust-project-goals/2025h2/cargo-build-analysis.html))
62+
[#15845](https://github.com/rust-lang/cargo/pull/15845)
63+
- `multiple-build-scripts`: Accessing each build script's `OUT_DIR` and in the
64+
correct order
65+
[#15776](https://github.com/rust-lang/cargo/pull/15776)
66+
- `-Zcargo-lints`: Linting system infra improvement
67+
[#15865](https://github.com/rust-lang/cargo/pull/15865)
68+
- `-Zscript`: Cover some frontmatter corner cases
69+
[#15886](https://github.com/rust-lang/cargo/pull/15886)
70+
- `-Zscript`: Match test updates in rustc
71+
[#15878](https://github.com/rust-lang/cargo/pull/15878)
72+
- `-Zscript`: Switch frontmatter tests to end-to-end
73+
[#15899](https://github.com/rust-lang/cargo/pull/15899)
74+
- `-Zscript`: Report script manifest errors for the right line number
75+
[#15927](https://github.com/rust-lang/cargo/pull/15927)
76+
- `-Zscript`: Pull out as a dedicated mod
77+
[#15914](https://github.com/rust-lang/cargo/pull/15914)
78+
1479
### Documentation
1580

81+
- Clarify that `cargo doc --no-deps` is cumulative and won’t delete prev
82+
[#15800](https://github.com/rust-lang/cargo/pull/15800)
83+
- Switch from `--nocapture` to `--no-capture` in docs and help text.
84+
[#15930](https://github.com/rust-lang/cargo/pull/15930)
85+
- Mention how Cargo fetch git submodules
86+
[#15853](https://github.com/rust-lang/cargo/pull/15853)
87+
[#15860](https://github.com/rust-lang/cargo/pull/15860)
88+
- Link out to the Plumbing commands effort
89+
[#15821](https://github.com/rust-lang/cargo/pull/15821)
90+
- Switch to using native mdbook fragment redirects
91+
[#15861](https://github.com/rust-lang/cargo/pull/15861)
92+
- Reorder `lto` options in profiles
93+
[#15841](https://github.com/rust-lang/cargo/pull/15841)
94+
[#15855](https://github.com/rust-lang/cargo/pull/15855)
95+
1696
### Internal
1797

98+
- Replace ad-hoc flock implementation with std flock
99+
[#15935](https://github.com/rust-lang/cargo/pull/15935)
100+
[#15941](https://github.com/rust-lang/cargo/pull/15941)
101+
- Prepare for annotate-snippets `Report`s being generated in more places
102+
[#15920](https://github.com/rust-lang/cargo/pull/15920)
103+
[#15926](https://github.com/rust-lang/cargo/pull/15926)
104+
- test: avoid hardcoded target spec json
105+
[#15880](https://github.com/rust-lang/cargo/pull/15880)
106+
- test: Ensure consistent behavior regardless of rustup use
107+
[#15949](https://github.com/rust-lang/cargo/pull/15949)
108+
- test: Switch more expected results to snapshots for credential process
109+
[#15929](https://github.com/rust-lang/cargo/pull/15929)
110+
- ci: Add Arm64 Windows CI jobs
111+
[#15790](https://github.com/rust-lang/cargo/pull/15790)
112+
- ci: remove x86_64-apple-darwin from CI and tests
113+
[#15831](https://github.com/rust-lang/cargo/pull/15831)
114+
- Update dependencies.
115+
[#15795](https://github.com/rust-lang/cargo/pull/15795)
116+
[#15804](https://github.com/rust-lang/cargo/pull/15804)
117+
[#15815](https://github.com/rust-lang/cargo/pull/15815)
118+
[#15816](https://github.com/rust-lang/cargo/pull/15816)
119+
[#15819](https://github.com/rust-lang/cargo/pull/15819)
120+
[#15825](https://github.com/rust-lang/cargo/pull/15825)
121+
[#15832](https://github.com/rust-lang/cargo/pull/15832)
122+
[#15851](https://github.com/rust-lang/cargo/pull/15851)
123+
[#15898](https://github.com/rust-lang/cargo/pull/15898)
124+
[#15904](https://github.com/rust-lang/cargo/pull/15904)
125+
[#15909](https://github.com/rust-lang/cargo/pull/15909)
126+
[#15918](https://github.com/rust-lang/cargo/pull/15918)
127+
[#15950](https://github.com/rust-lang/cargo/pull/15950)
128+
18129
## Cargo 1.90 (2025-09-18)
19130
[c24e1064...rust-1.90.0](https://github.com/rust-lang/cargo/compare/c24e1064...rust-1.90.0)
20131

0 commit comments

Comments
 (0)