Skip to content

Conversation

@teqdruid
Copy link
Contributor

This was broken on Windows. Something to do with linking I suspect. So let's just use a string.

This was broken on Windows. Something to do with linking I suspect. So
let's just use a string.
@teqdruid teqdruid requested a review from Copilot November 18, 2025 21:44
@teqdruid teqdruid added the ESI label Nov 18, 2025
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR fixes service uniquification issues in the ESI runtime on Windows by replacing std::type_info* with std::string in the service cache key. The change addresses a linking-related problem where using type_info pointers for service identification was broken on Windows.

Key Changes:

  • Modified service cache key from using std::type_info* to std::string representation
  • Updated cache lookup to convert service type to string using svcType.name()

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
lib/Dialect/ESI/runtime/cpp/include/esi/Accelerator.h Changed ServiceCacheKey tuple from using type_info pointer to string
lib/Dialect/ESI/runtime/cpp/lib/Accelerator.cpp Updated service cache lookup to use string conversion of service type name

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@teqdruid teqdruid merged commit 263ef2f into main Nov 18, 2025
7 checks passed
@teqdruid teqdruid deleted the teqdruid/esirt-services branch November 18, 2025 21:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants