dalance / procs

A modern replacement for ps written in Rust
MIT License
5.1k stars 114 forks source link

0.14.7 fails to build on FreeBSD: cannot find type `PathBuf` in this scope #703

Closed yurivict closed 5 days ago

yurivict commented 5 days ago
error[E0412]: cannot find type `PathBuf` in this scope
  --> src/process/freebsd.rs:18:27
   |
18 |     _procfs_path: &Option<PathBuf>,
   |                           ^^^^^^^ not found in this scope
   |
help: consider importing one of these structs
   |
1  + use crate::PathBuf;
   |
1  + use std::path::PathBuf;
   |

0.14.6 didn't have such problem.

FreeBSD 14.1

dalance commented 5 days ago

I fixed it. Could you try the latest master?

yurivict commented 5 days ago

Could you please make a release? The failure occurs during the build of another port in the context of the package builder.

dalance commented 5 days ago

OK. I'm tring to add FreeBSD build on GItHub Actions now. After checking build on FreeBSD, I'll release v0.14.8.

dalance commented 5 days ago

I released v0.14.8.

yurivict commented 5 days ago

It works now, thank you for fixing it quickly.