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

features: return ErrNotSupportedOnOS on windows #1723

Merged
merged 3 commits into from
Mar 17, 2025
Merged

Conversation

lmb
Copy link
Collaborator

@lmb lmb commented Mar 12, 2025

features: return ErrNotSupportedOnOS on windows

This reverts commit 8d7c47ffbd3812ed2ef7de4ada79141b9d3a8126.

Return a sentinel error instead of removing the API outright. This avoids
compilation failures on non-Linux platforms.

Signed-off-by: Lorenz Bauer <lmb@isovalent.com>

CI: cross build for darwin

Switch the windows cross-build back to darwin. We have a dedicated Windows
job now, so bringin the darwin build back is more useful.

Signed-off-by: Lorenz Bauer <lmb@isovalent.com>

lmb added 2 commits March 12, 2025 17:01
This reverts commit 8d7c47f.

Return a sentinel error instead of removing the API outright. This
avoids compilation failures on non-Linux platforms.

Signed-off-by: Lorenz Bauer <lmb@isovalent.com>
Switch the windows cross-build back to darwin. We have a dedicated
Windows job now, so bringin the darwin build back is more useful.

Signed-off-by: Lorenz Bauer <lmb@isovalent.com>
@lmb lmb force-pushed the windows-features branch from 7675ccd to a4b0826 Compare March 12, 2025 17:02
Align the build tag with the generated files to avoid compilation
failures on darwin.

Signed-off-by: Lorenz Bauer <lmb@isovalent.com>
@lmb lmb marked this pull request as ready for review March 17, 2025 11:07
@lmb lmb requested review from rgo3 and a team as code owners March 17, 2025 11:07
@lmb lmb merged commit dfaf443 into cilium:main Mar 17, 2025
17 checks passed
@lmb lmb deleted the windows-features branch March 17, 2025 11:08
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

Successfully merging this pull request may close these issues.

None yet

1 participant