I tried to compile starship on a Samsung Galaxy Tab s6 in Termux and it failed with the message Support for this target OS is not implemented yet!
error: Support for this target OS is not implemented yet!
You may want to create an issue: https://github.com/svartalf/rust-battery/issues/new
--> /data/data/com.termux/files/home/.cargo/registry/src/github.com-1ecc6299db9ec823/battery-0.7.5/src/platform/mod.rs:27:9
|
27 | / compile_error!("Support for this target OS is not implemented yet!\n \
28 | | You may want to create an issue: https://github.com/svartalf/rust-battery/issues/new");
| |___________________________________________________________________________________________________^
error[E0432]: unresolved import `crate::platform::Device`
--> /data/data/com.termux/files/home/.cargo/registry/src/github.com-1ecc6299db9ec823/battery-0.7.5/src/types/battery.rs:5:5
|
5 | use crate::platform::Device;
| ^^^^^^^^^^^^^^^^^^^^^^^ no `Device` in `platform`
error[E0432]: unresolved import `crate::platform::Iterator`
--> /data/data/com.termux/files/home/.cargo/registry/src/github.com-1ecc6299db9ec823/battery-0.7.5/src/types/iterator.rs:3:5
|
3 | use crate::platform::Iterator as PlatformIterator;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `Iterator` in `platform`
error[E0432]: unresolved import `crate::platform::Iterator`
--> /data/data/com.termux/files/home/.cargo/registry/src/github.com-1ecc6299db9ec823/battery-0.7.5/src/types/manager.rs:5:5
|
5 | use crate::platform::Iterator as PlatformIterator;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `Iterator` in `platform`
error[E0432]: unresolved import `crate::platform::Manager`
--> /data/data/com.termux/files/home/.cargo/registry/src/github.com-1ecc6299db9ec823/battery-0.7.5/src/types/manager.rs:6:5
|
6 | use crate::platform::Manager as PlatformManager;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `Manager` in `platform`
error: aborting due to 5 previous errors
For more information about this error, try `rustc --explain E0432`.
error: could not compile `battery`.
To learn more, run the command again with --verbose.
warning: build failed, waiting for other jobs to finish...
error: failed to compile `starship v0.44.0`, intermediate artifacts can be found at `/data/data/com.termux/files/usr/tmp/cargo-install5qDCt5`
Caused by:
build failed
Please tell me if I can help in any way (except from doing Rust).
I tried to compile starship on a Samsung Galaxy Tab s6 in Termux and it failed with the message
Support for this target OS is not implemented yet!
Please tell me if I can help in any way (except from doing Rust).
PS: Maybe an Android Emulator or termux-docker can help.