Skip to content

Conversation

@lambdageek
Copy link
Member

Previously we used EmbeddedResource to collect the contract descriptor baselines into cdac-build-tool and we also embedded the C source template.

But we only ever run cdac-build-tool during the runtime build - the files are in the same source tree. Just pass their paths when invoking the tool, don't embed them.

Fixes #107958

it's run once, in-tree, during the coreclr build. there is no need to embed files that are in the same repo checkout.
@ghost ghost added the needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners label Sep 26, 2024
@lambdageek
Copy link
Member Author

This is a better fix than #108289, but I'm not comfortable backporting it to .NET 9

@lambdageek lambdageek added area-Diagnostics-coreclr and removed needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners labels Sep 26, 2024
@lambdageek lambdageek merged commit 9b56e73 into dotnet:main Sep 26, 2024
@dotnet-policy-service
Copy link
Contributor

Tagging subscribers to this area: @tommcdon
See info in area-owners.md if you want to be subscribed.

sirntar pushed a commit to sirntar/runtime that referenced this pull request Sep 30, 2024
reviously we used EmbeddedResource to collect the contract descriptor baselines into cdac-build-tool and we also embedded the C source template.

But we only ever run cdac-build-tool during the runtime build - the files are in the same source tree. Just pass their paths when invoking the tool, don't embed them.

Fixes dotnet#107958 

* don't embed baselines into cdac-build-tool

* don't embed the template source file in the tool
@github-actions github-actions bot locked and limited conversation to collaborators Oct 27, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[cdac] don't use EmbeddedResource in cdac-build-tool

3 participants