Skip to content

optee-utee: fix socket doctest with std enabled - #319

Merged
ivila merged 1 commit into
apache:mainfrom
ivila:fix/socket-doctest-std
Sep 11, 2026
Merged

ivila merged 1 commit into
apache:mainfrom
ivila:fix/socket-doctest-std

Conversation

@ivila

@ivila ivila commented Sep 11, 2026

Copy link
Copy Markdown
Contributor

The inherent TcpStream::connect_v4 method takes precedence over StdCompatConnect with std enabled and returns std::io::Error instead of SocketError. Let the example infer the result type so it compiles with either feature set.

Run optee-utee tests with std enabled in CI alongside the existing no_std test run to cover both configurations.

The inherent TcpStream::connect_v4 method takes precedence over
StdCompatConnect with std enabled and returns std::io::Error instead
of SocketError. Let the example infer the result type so it compiles
with either feature set.

Run optee-utee tests with std enabled in CI alongside the existing
no_std test run to cover both configurations.
@ivila ivila added bug Something isn't working ci labels Sep 11, 2026
@ivila
ivila merged commit 6f6fc71 into apache:main Sep 11, 2026
18 checks passed
@ivila
ivila deleted the fix/socket-doctest-std branch September 21, 2026 06:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working ci

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant