Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 46839a9

Browse files
authored
Unrolled build for rust-lang#138046
Rollup merge of rust-lang#138046 - onur-ozkan:trim-include-str, r=jieyouxu trim channel value in `get_closest_merge_commit` This was a silly bug which caused `git_upstream_merge_base` to never work because it was `nightly\n` not `nightly`.
2 parents 98a4878 + 056ec72 commit 46839a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/build_helper/src/git.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ pub fn get_closest_merge_commit(
129129
git.current_dir(git_dir);
130130
}
131131

132-
let channel = include_str!("../../ci/channel");
132+
let channel = include_str!("../../ci/channel").trim();
133133

134134
let merge_base = {
135135
if CiEnv::is_ci() &&

0 commit comments

Comments
 (0)