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

Endianess feature #289

Open
martintc opened this issue Jan 20, 2022 · 2 comments
Open

Endianess feature #289

martintc opened this issue Jan 20, 2022 · 2 comments

Comments

@martintc
Copy link
Contributor

I was doing some interviews and I got to talking about some of my FOSS contributions in one of them and this library came up. The interviewer asked me if the information provided also provided the endianess. So it begs the question, could there be some value in provided endianess alongside the OS, version, and bitness?

@stanislav-tkach
Copy link
Owner

It seems to me that it is often needed to determine the endianness at compile time (to perform some conditional compilation) and Rust already provides that by the target_endian feature. I think that this library can only add some convenience by providing the information in a human-readable fashion. Would it be useful to someone? I'm not sure. Let's leave this issue open for other opinions.

@martintc
Copy link
Contributor Author

Sounds like a plan to me!

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