mirror of
https://github.com/nushell/nushell
synced 2025-01-13 13:49:21 +00:00
Bump rustc version. Fix macOS build issue
This commit is contained in:
parent
7e555a0ef2
commit
eefb6fd9a0
2 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
||||||
variables:
|
variables:
|
||||||
lkg-rust-nightly: "2019-06-28"
|
lkg-rust-nightly: "2019-07-04"
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
- master
|
- master
|
||||||
|
|
|
@ -75,7 +75,7 @@ pub fn sysinfo(args: CommandArgs) -> Result<OutputStream, ShellError> {
|
||||||
boottime_idx.insert("hours", Primitive::Int((x.tv_sec / 3600) % 24));
|
boottime_idx.insert("hours", Primitive::Int((x.tv_sec / 3600) % 24));
|
||||||
boottime_idx.insert("mins", Primitive::Int((x.tv_sec / 60) % 60));
|
boottime_idx.insert("mins", Primitive::Int((x.tv_sec / 60) % 60));
|
||||||
|
|
||||||
idx.insert("uptime", boottime_idx);
|
idx.insert_spanned("uptime", boottime_idx);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue