Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not compile bb #5

Closed
liushaoxiong10 opened this issue Oct 29, 2019 · 1 comment
Closed

Could not compile bb #5

liushaoxiong10 opened this issue Oct 29, 2019 · 1 comment

Comments

@liushaoxiong10
Copy link

I tried to install bb using cargo install bb
But I have encountered a mistake
error[E0308]: mismatched types --> /Users/liushaoxiong/.cargo/registry/src/github.com-1ecc6299db9ec823/bb-0.2.2/src/ui.rs:74:54 | 74 | libc::getpwuid_r(pw_uid, &mut pwent, buffer, 16384, &mut pwentp); | ^^^^^^ expected i8, found array of 16384 elements | = note: expected type *mut i8found type&mut [i8; 16384]`

error: aborting due to previous error

For more information about this error, try rustc --explain E0308.
error: failed to compile bb v0.2.2, intermediate artifacts can be found at /var/folders/s7/mzzwxbcs6q7d8n58gv3drh680000gp/T/cargo-installA7K9PP

Caused by:
Could not compile bb.

To learn more, run the command again with --verbose.`

my cargo version is cargo 1.38.0 (23ef9a4ef 2019-08-20)

@epilys
Copy link
Owner

epilys commented Oct 29, 2019

Hello! Have a look at #3. Basically bb relies on a special filesystem that exists only on linux. Support for other kernels might come in the future. Thank you for downloading it though, I appreciate it :)

@epilys epilys closed this as completed Oct 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants