Skip to content
This repository was archived by the owner on Jan 12, 2026. It is now read-only.

Conversation

@kinderjoypresents
Copy link

📝 Summary

This change makes tdx-quote-provider shutdown handling cross-platform by gating Unix-only signal handling behind cfg(unix) and using a Ctrl+C-only fallback on non-Unix targets.

💡 Motivation and Context

tdx-quote-provider used tokio::signal::unix::* unconditionally in shutdown_signal(), which fails to compile on Windows.

This update prevents Windows builds from breaking while keeping SIGTERM/SIGINT handling on Unix.

✅ I have completed the following steps:

Run make lint
Run make test
Added tests (if applicable)
Notes: This is a platform compatibility fix; no new tests were added.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant