You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)
The text was updated successfully, but these errors were encountered:
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 :)
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)
The text was updated successfully, but these errors were encountered: