Repository navigation
Conversation
Merging this PR will degrade performance by 0.84%1 warning, 1 note
Warning Please fix the performance issues or acknowledge them on CodSpeed. Performance Changes
Tip Investigate this regression by commenting Comparing Footnotes
|
8c0b529 to
39bc936
Compare
ff11e70 to
f100d7d
Compare
|
GNU testsuite comparison: |
9be3124 to
d420658
Compare
This comment was marked as outdated.
This comment was marked as outdated.
|
Would it be possible to separate the refactor replacing |
|
It is very difficult since |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as outdated.
This comment was marked as outdated.
xtqqczze
left a comment
There was a problem hiding this comment.
What happens on Linux when arbitrary baud rates are not supported (i.e. with glibc < 2.42)? Do we panic, return an error, or fall back to a different behavior?
|
This should work for all libcs since this does not use glibc's API and uses |
We have downstream consumers using |
This comment was marked as resolved.
This comment was marked as resolved.
|
|
This comment was marked as resolved.
This comment was marked as resolved.
|
I think I understand now: in Rustix |
|
|
|
So use_libc allows us |
692124b to
7e3e80e
Compare
a4b22f0 to
acbcf89
Compare
|
hopefully last rebase against confliction |
This comment was marked as resolved.
This comment was marked as resolved.
|
Unfortunately, we still need to map enum baud rates for |
|
|
|
Switching to |
|
I cannot much care about minor targets. I'd like to keep diff minimal at here. |
|
There will be follow-up work in any case for |
|
@sylvestre Would you consider merging this? |
Co-authored-by: Sylvestre Ledru <sylvestre@debian.org>
rustixmanages baud rate byu32on all platforms. But OS itself should support any baud to actually use any baud. This PR adds support for any baud on Linux kernel (since bsd was already supported atnixcrate).rustixhasu32-> enum decoder.