Skip to content

Commit 03bd2f6

Browse files
committed
Auto merge of #60683 - Centril:rollup-p05qh5d, r=Centril
Rollup of 8 pull requests Successful merges: - #59348 (Clean up and add tests for slice drop shims) - #60188 (Identify when a stmt could have been parsed as an expr) - #60234 (std: Derive `Default` for `io::Cursor`) - #60618 (Comment ext::tt::transcribe) - #60648 (Skip codegen for one UI test with long file path) - #60671 (remove unneeded `extern crate`s from build tools) - #60675 (Remove the old await! macro) - #60676 (Fix async desugaring providing wrong input to procedural macros.) Failed merges: r? @ghost
2 parents adcd4aa + 45b0945 commit 03bd2f6

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+818
-294
lines changed

Cargo.lock

Lines changed: 36 additions & 40 deletions
Large diffs are not rendered by default.

src/bootstrap/Cargo.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,10 @@ num_cpus = "1.0"
4242
getopts = "0.2.19"
4343
cc = "1.0.35"
4444
libc = "0.2"
45-
serde = "1.0.8"
46-
serde_derive = "1.0.8"
45+
serde = { version = "1.0.8", features = ["derive"] }
4746
serde_json = "1.0.2"
4847
toml = "0.4"
49-
lazy_static = "0.2"
48+
lazy_static = "1.3.0"
5049
time = "0.1"
5150
petgraph = "0.4.13"
5251

src/bootstrap/builder.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ use std::path::{Path, PathBuf};
1111
use std::process::Command;
1212
use std::time::{Duration, Instant};
1313

14+
use build_helper::t;
15+
1416
use crate::cache::{Cache, Interned, INTERNER};
1517
use crate::check;
1618
use crate::compile;
@@ -1308,6 +1310,8 @@ mod __test {
13081310
use crate::config::Config;
13091311
use std::thread;
13101312

1313+
use pretty_assertions::assert_eq;
1314+
13111315
fn configure(host: &[&str], target: &[&str]) -> Config {
13121316
let mut config = Config::default_opts();
13131317
// don't save toolstates

src/bootstrap/cache.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ use std::path::{Path, PathBuf};
1313
use std::sync::Mutex;
1414
use std::cmp::{PartialOrd, Ord, Ordering};
1515

16+
use lazy_static::lazy_static;
17+
1618
use crate::builder::Step;
1719

1820
pub struct Interned<T>(usize, PhantomData<*const T>);

src/bootstrap/clean.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ use std::fs;
99
use std::io::{self, ErrorKind};
1010
use std::path::Path;
1111

12+
use build_helper::t;
13+
1214
use crate::Build;
1315

1416
pub fn clean(build: &Build, all: bool) {

src/bootstrap/compile.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,9 @@ use std::path::{Path, PathBuf};
1515
use std::process::{Command, Stdio, exit};
1616
use std::str;
1717

18-
use build_helper::{output, mtime, up_to_date};
18+
use build_helper::{output, mtime, t, up_to_date};
1919
use filetime::FileTime;
20+
use serde::Deserialize;
2021
use serde_json;
2122

2223
use crate::dist;

src/bootstrap/config.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,10 @@ use std::path::{Path, PathBuf};
1010
use std::process;
1111
use std::cmp;
1212

13+
use build_helper::t;
1314
use num_cpus;
1415
use toml;
16+
use serde::Deserialize;
1517
use crate::cache::{INTERNER, Interned};
1618
use crate::flags::Flags;
1719
pub use crate::flags::Subcommand;

src/bootstrap/dist.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ use std::io::Write;
1414
use std::path::{PathBuf, Path};
1515
use std::process::{Command, Stdio};
1616

17-
use build_helper::output;
17+
use build_helper::{output, t};
1818

1919
use crate::{Compiler, Mode, LLVM_TOOLS};
2020
use crate::channel;

src/bootstrap/doc.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ use std::io;
1313
use std::path::{PathBuf, Path};
1414

1515
use crate::Mode;
16-
use build_helper::up_to_date;
16+
use build_helper::{t, up_to_date};
1717

1818
use crate::util::symlink_dir;
1919
use crate::builder::{Builder, Compiler, RunConfig, ShouldRun, Step};

src/bootstrap/install.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ use std::fs;
88
use std::path::{Path, PathBuf, Component};
99
use std::process::Command;
1010

11+
use build_helper::t;
12+
1113
use crate::dist::{self, pkgname, sanitize_sh, tmpdir};
1214

1315
use crate::builder::{Builder, RunConfig, ShouldRun, Step};

0 commit comments

Comments
 (0)