forked from extern/nushell
Bump rustc version. Fix macOS build issue
This commit is contained in:
parent
7e555a0ef2
commit
eefb6fd9a0
@ -1,5 +1,5 @@
|
||||
variables:
|
||||
lkg-rust-nightly: "2019-06-28"
|
||||
lkg-rust-nightly: "2019-07-04"
|
||||
|
||||
trigger:
|
||||
- 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("mins", Primitive::Int((x.tv_sec / 60) % 60));
|
||||
|
||||
idx.insert("uptime", boottime_idx);
|
||||
idx.insert_spanned("uptime", boottime_idx);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user