Skip to content

Commit 1059a86

Browse files
1.41.1 release
1 parent 5e1a799 commit 1059a86

File tree

2 files changed

+26
-19
lines changed

2 files changed

+26
-19
lines changed

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
Version 1.41.1 (2020-02-27)
2+
===========================
3+
4+
* [Always check types of static items][69145]
5+
* [Always check lifetime bounds of `Copy` impls][69145]
6+
* [Fix miscompilation in callers of `Layout::repeat`][69225]
7+
8+
[69225]: https://github.com/rust-lang/rust/issues/69225
9+
[69145]: https://github.com/rust-lang/rust/pull/69145
10+
111
Version 1.41.0 (2020-01-30)
212
===========================
313

@@ -208,7 +218,7 @@ Compatibility Notes
208218
- [Using `#[inline]` on function prototypes and consts now emits a warning under
209219
`unused_attribute` lint.][65294] Using `#[inline]` anywhere else inside traits
210220
or `extern` blocks now correctly emits a hard error.
211-
221+
212222
[65294]: https://github.com/rust-lang/rust/pull/65294/
213223
[66103]: https://github.com/rust-lang/rust/pull/66103/
214224
[65843]: https://github.com/rust-lang/rust/pull/65843/

src/bootstrap/channel.rs

Lines changed: 15 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ use build_helper::output;
1313
use crate::Build;
1414

1515
// The version number
16-
pub const CFG_RELEASE_NUM: &str = "1.41.0";
16+
pub const CFG_RELEASE_NUM: &str = "1.41.1";
1717

1818
pub struct GitInfo {
1919
inner: Option<Info>,
@@ -29,31 +29,28 @@ impl GitInfo {
2929
pub fn new(ignore_git: bool, dir: &Path) -> GitInfo {
3030
// See if this even begins to look like a git dir
3131
if ignore_git || !dir.join(".git").exists() {
32-
return GitInfo { inner: None }
32+
return GitInfo { inner: None };
3333
}
3434

3535
// Make sure git commands work
36-
match Command::new("git")
37-
.arg("rev-parse")
38-
.current_dir(dir)
39-
.output()
40-
{
36+
match Command::new("git").arg("rev-parse").current_dir(dir).output() {
4137
Ok(ref out) if out.status.success() => {}
4238
_ => return GitInfo { inner: None },
4339
}
4440

4541
// Ok, let's scrape some info
46-
let ver_date = output(Command::new("git").current_dir(dir)
47-
.arg("log").arg("-1")
48-
.arg("--date=short")
49-
.arg("--pretty=format:%cd"));
50-
let ver_hash = output(Command::new("git").current_dir(dir)
51-
.arg("rev-parse").arg("HEAD"));
52-
let short_ver_hash = output(Command::new("git")
53-
.current_dir(dir)
54-
.arg("rev-parse")
55-
.arg("--short=9")
56-
.arg("HEAD"));
42+
let ver_date = output(
43+
Command::new("git")
44+
.current_dir(dir)
45+
.arg("log")
46+
.arg("-1")
47+
.arg("--date=short")
48+
.arg("--pretty=format:%cd"),
49+
);
50+
let ver_hash = output(Command::new("git").current_dir(dir).arg("rev-parse").arg("HEAD"));
51+
let short_ver_hash = output(
52+
Command::new("git").current_dir(dir).arg("rev-parse").arg("--short=9").arg("HEAD"),
53+
);
5754
GitInfo {
5855
inner: Some(Info {
5956
commit_date: ver_date.trim().to_string(),

0 commit comments

Comments
 (0)