Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 56bfbaf

Browse files
xtask: Update path of building.md
1 parent 2c32a42 commit 56bfbaf

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

‎xtask/src/main.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ fn run_host_tests() -> Result<()> {
180180
/// template to a temporary directory and builds it in isolation.
181181
///
182182
/// The build command is also checked against the contents of
183-
/// `BUILDING.md` to ensure that the doc correctly describes how to
183+
/// `building.md` to ensure that the doc correctly describes how to
184184
/// build an app.
185185
fn test_latest_release() -> Result<()> {
186186
// Recursively copy the template app to a temporary directory. This
@@ -195,16 +195,16 @@ fn test_latest_release() -> Result<()> {
195195
run_cmd(cp_cmd)?;
196196

197197
// Create cargo build command, not using the `cargo` module to make
198-
// it explicit that it matches the command in `BUILDING.md`.
198+
// it explicit that it matches the command in `building.md`.
199199
let mut build_cmd = Command::new("cargo");
200200
fix_nested_cargo_env(&mut build_cmd);
201201
build_cmd
202202
.args(["build", "--target", "x86_64-unknown-uefi"])
203203
.current_dir(tmp_dir.join("template"));
204204

205-
// Check that the command is indeed in BUILDING.md, then verify the
205+
// Check that the command is indeed in building.md, then verify the
206206
// build succeeds.
207-
let building_md = include_str!("../../BUILDING.md");
207+
let building_md = include_str!("../../book/src/tutorial/building.md");
208208
assert!(building_md.contains(&command_to_string(&build_cmd)));
209209
run_cmd(build_cmd)
210210
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /