Skip to content

Commit 7cf61eb

Browse files
committed
Auto merge of #123105 - weihanglo:update-stable-cargo, r=Mark-Simulacrum
[stable-1.77] cargo backport 1 commits in 3fe68eabf93cbf3772bbcad09a9206c783e2de3f..e52e360061cacbbeac79f7f1215a7a90b6f08442 2024-02-29 00:16:03 +0000 to 2024-03-26 17:54:36 +0000 - [stable-1.77] Do not strip debuginfo by default for MSVC (rust-lang/cargo#13654) r? ghost
2 parents aedd173 + 42c356d commit 7cf61eb

File tree

4 files changed

+34
-2
lines changed

4 files changed

+34
-2
lines changed

RELEASES.md

+10
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
Version 1.77.1 (2024-03-28)
2+
===========================
3+
4+
<a id="1.77.1"></a>
5+
6+
- [Revert stripping debuginfo by default for Windows](https://github.com/rust-lang/cargo/pull/13654)
7+
This fixes a regression in 1.77 by reverting to the previous default.
8+
Platforms other than Windows are not affected.
9+
- Internal: [Fix heading anchor rendering in doc pages](https://github.com/rust-lang/rust/pull/122693)
10+
111
Version 1.77.0 (2024-03-21)
212
==========================
313

src/doc/rust.css

+22
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,28 @@ h1 a:link, h1 a:visited, h2 a:link, h2 a:visited,
136136
h3 a:link, h3 a:visited, h4 a:link, h4 a:visited,
137137
h5 a:link, h5 a:visited {color: black;}
138138

139+
h1, h2, h3, h4, h5 {
140+
/* This is needed to be able to position the doc-anchor. Ideally there
141+
would be a <div> around the whole document, but we don't have that. */
142+
position: relative;
143+
}
144+
145+
a.doc-anchor {
146+
color: black;
147+
display: none;
148+
position: absolute;
149+
left: -20px;
150+
/* We add this padding so that when the cursor moves from the heading's text to the anchor,
151+
the anchor doesn't disappear. */
152+
padding-right: 5px;
153+
/* And this padding is used to make the anchor larger and easier to click on. */
154+
padding-left: 3px;
155+
}
156+
*:hover > .doc-anchor {
157+
display: block;
158+
}
159+
160+
139161
/* Code */
140162

141163
pre, code {

src/version

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.77.0
1+
1.77.1

0 commit comments

Comments
 (0)