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

Support for this target OS is not implemented yet!. #37

Open
anoduck opened this issue Jun 15, 2023 · 7 comments
Open

Support for this target OS is not implemented yet!. #37

anoduck opened this issue Jun 15, 2023 · 7 comments
Labels
enhancement New feature or request

Comments

@anoduck
Copy link

anoduck commented Jun 15, 2023

Attempted to install starship for zsh on OpenBSD-CURRENT, and received the following error message: Support for this target OS is not implemented yet!.

Why is it not allowing me to build? OpenBSD runs rust too.

@davidkna
Copy link
Member

davidkna commented Jun 16, 2023

This crate interfaces with the operating system and needs to be explicitly extended to work with every OS including OpenBSD. Nevertheless, allowing other targets to build with a dummy implementation, by moving errors to the runtime, could be an improvement.

@davidkna davidkna added the enhancement New feature or request label Jun 19, 2023
@sharunkumar
Copy link

sharunkumar commented Jul 22, 2023

I am getting the same thing when running on termux in android

cargo install bottom

I guess since this repo is a dependency, it led me here

@anoduck
Copy link
Author

anoduck commented Jul 22, 2023

This crate interfaces with the operating system and needs to be explicitly extended to work with every OS including OpenBSD. Nevertheless, allowing other targets to build with a dummy implementation, by moving errors to the runtime, could be an improvement.

Just saying…
The later solution would be more efficient use of resources. To my understanding and to my experience, OpenBSD is more likely to be run on a desktop than a laptop. This is often due to hardware compatibility issues (or was in the past), and the desire to prioritize speed and usability over security and… whatever…
This is just IMHO. Take it for what it is worth.

@naguam
Copy link

naguam commented Mar 18, 2024

I am getting the same thing when running on termux in android

cargo install bottom

I guess since this repo is a dependency, it led me here

I think that now rust-battery is an optional dependency of bottom.

I tried to run bottom on NetBSD though and even if it build well it seems its not the only thing missing to make it work.

Bottom needs full porting at least on NetBSD (I don't know for OpenBSD but this might be similar, just try)

@ahaoboy
Copy link

ahaoboy commented Apr 18, 2024

Disabling the default feature installed successfully

cargo install --no-default-features starship

cargo install --no-default-features bottom

@anoduck
Copy link
Author

anoduck commented Apr 22, 2024

@sharunkumar Termux is not containerized or virtualized. Meaning, Termux is still dependent on the sub-framework of android. While this normally would not cause an issue, in the case of accessing device peripherals, this would cause difficulties. As the two are differently structured and use different labeling schemes.

@naguam Yeah, same here. Bottom looks awesome, but does not finish building without error. NetBSD is a beautiful OS. Enjoy it.

@naguam
Copy link

naguam commented May 4, 2024

#69

Here it comes for NetBSD :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

5 participants