rabite0 / hunter

The fastest file manager in the galaxy!
Do What The F*ck You Want To Public License
1.32k stars 64 forks source link

Hunter not compiling on Mac OS X Mojave #72

Closed j-maynard closed 4 years ago

j-maynard commented 4 years ago

So trying to build hunter on Mac OS X Mojave and I get the following error:

error[E0061]: this function takes 0 parameters but 1 parameter was supplied
  --> ~/.cargo/registry/src/github.com-1ecc6299db9ec823/hunter-1.3.4/src/stats.rs:79:20
   |
79 |         self.total.to_string(false)
   |                    ^^^^^^^^^ expected 0 parameters

error[E0061]: this function takes 0 parameters but 1 parameter was supplied
  --> ~/.cargo/registry/src/github.com-1ecc6299db9ec823/hunter-1.3.4/src/stats.rs:83:20
   |
83 |         self.avail.to_string(false)
   |                    ^^^^^^^^^ expected 0 parameters

error: aborting due to 2 previous errors

For more information about this error, try `rustc --explain E0061`.
error: could not compile `hunter`.
warning: build failed, waiting for other jobs to finish...
error: failed to compile `hunter v1.3.4`, intermediate artifacts can be found at `/var/folders/vs/wxzs9qm133zgf60pxpjrf9l4000_6_/T/cargo-installXRil14`

Does anyone have any ideas?

FuGangqiang commented 4 years ago

the PR#71 fix it.

rabite0 commented 4 years ago

Sorry, that took a while. I pushed a fix some time ago.