From eefb6fd9a0386e7d9db97274f364c5d2e2e98d6b Mon Sep 17 00:00:00 2001 From: Jonathan Turner Date: Sun, 14 Jul 2019 05:32:01 +1200 Subject: [PATCH] Bump rustc version. Fix macOS build issue --- .azure/azure-pipelines.yml | 2 +- src/commands/sysinfo.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.azure/azure-pipelines.yml b/.azure/azure-pipelines.yml index 048ab8b60d..9828066f3c 100644 --- a/.azure/azure-pipelines.yml +++ b/.azure/azure-pipelines.yml @@ -1,5 +1,5 @@ variables: - lkg-rust-nightly: "2019-06-28" + lkg-rust-nightly: "2019-07-04" trigger: - master diff --git a/src/commands/sysinfo.rs b/src/commands/sysinfo.rs index 73fda3fe02..421980dca6 100644 --- a/src/commands/sysinfo.rs +++ b/src/commands/sysinfo.rs @@ -75,7 +75,7 @@ pub fn sysinfo(args: CommandArgs) -> Result { boottime_idx.insert("hours", Primitive::Int((x.tv_sec / 3600) % 24)); boottime_idx.insert("mins", Primitive::Int((x.tv_sec / 60) % 60)); - idx.insert("uptime", boottime_idx); + idx.insert_spanned("uptime", boottime_idx); } }