Skip to content

Commit 2263fe0

Browse files
committed
update Rust
1 parent c3abc21 commit 2263fe0

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

build.ps1

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,10 @@ if ($null -ne $packageType) {
158158
Remove-Item temp:/rustup-init.exe -ErrorAction Ignore
159159
}
160160
}
161+
else {
162+
Write-Verbose -Verbose "Rust found, updating..."
163+
& rustup update
164+
}
161165

162166
$BuildToolsPath = "${env:ProgramFiles(x86)}\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC"
163167

process/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ fn get_task_list() -> Vec<ProcessInfo>
1616
for (pid, process) in s.processes() {
1717
let mut p = ProcessInfo::new();
1818
p.pid = pid.as_u32();
19-
p.name = format!("{:?}", process.name());
19+
p.name = format!("{:?}", process.name().display());
2020
p.cmdline = format!("{:?}", process.cmd());
2121
result.push(p);
2222
}

0 commit comments

Comments
 (0)