rabite0 / hunter

The fastest file manager in the galaxy!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hunter not compiling on Mac OS X Mojave

j-maynard opened this issue · comments

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?

commented

the PR#71 fix it.

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