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
* use core and alloc instead of std
This commits uses the `core` and `alloc` crate instead of std as much as
possible, without any changes to the code. We are simply importing from
a different location.
* raw_fd -> c_int
This commit changes std::os::unix::io::RawFd into simply c_int, which
exists in `core`.
* create std feature and adjust imports
The worst change here is substituting `last_os_error` to just reading
`errno` from `libc`. However, since ALSA can only be used in `linux`
systems, which will always have `errno` in their `libc`, with the
correct semantics, this should be fine.
* add another workflow step to check no-std builds
* delete old comment
* change RawFd declaration according to std feature
* do not need to use core in tests, as std is imported
* document that function is not available in no-std
* do not import errno in std environments
0 commit comments